home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1993-03-04 | 14.8 KB | [TEXT/KAHL] |
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
Confidence | Program | Detection | Match Type | Support
|
---|
66%
| dexvert
| Compact Compressed (Unix) (archive/compact)
| ext
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, Thu Mar 4 11:49:43 1993, modified Thu Mar 4 11:49:43 1993, creator Think C, type ASCII, 14373 bytes "Quick3.c" , at 0x38a5 498 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Macintosh plain text (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
100%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [TEXT] |
macFileCreator | [KAHL] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 08 51 75 69 63 6b 33 | 2e 63 00 00 00 00 00 00 |..Quick3|.c......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 01 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 38 25 00 | 00 01 f2 a7 bb e3 a7 a7 |.....8%.|........|
|00000060| bb e3 a7 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 4a 8f 00 00 |........|....J...|
|00000080| 2f 2a 0d 51 75 69 63 6b | 33 2e 63 20 0d 43 6f 70 |/*.Quick|3.c .Cop|
|00000090| 79 72 69 67 68 74 20 28 | 63 29 20 31 39 39 30 2d |yright (|c) 1990-|
|000000a0| 31 39 39 33 20 44 65 6e | 69 73 20 47 2e 20 50 65 |1993 Den|is G. Pe|
|000000b0| 6c 6c 69 20 0d 41 20 43 | 20 70 72 6f 67 72 61 6d |lli .A C| program|
|000000c0| 20 74 6f 20 6d 61 6b 65 | 20 6d 61 78 69 6d 75 6d | to make| maximum|
|000000d0| 20 6c 69 6b 65 6c 69 68 | 6f 6f 64 20 66 69 74 73 | likelih|ood fits|
|000000e0| 20 6f 66 20 73 69 6d 70 | 6c 65 20 6d 6f 64 65 6c | of simp|le model|
|000000f0| 73 20 74 6f 0d 70 73 79 | 63 68 6f 6d 65 74 72 69 |s to.psy|chometri|
|00000100| 63 20 64 61 74 61 2e 20 | 54 68 69 73 20 69 73 20 |c data. |This is |
|00000110| 61 20 72 65 70 6c 61 63 | 65 6d 65 6e 74 20 66 6f |a replac|ement fo|
|00000120| 72 2c 20 61 6e 64 20 74 | 6f 20 73 6f 6d 65 20 65 |r, and t|o some e|
|00000130| 78 74 65 6e 74 20 69 73 | 0d 64 65 72 69 76 65 64 |xtent is|.derived|
|00000140| 20 66 72 6f 6d 20 74 68 | 65 20 6f 6c 64 20 51 55 | from th|e old QU|
|00000150| 49 43 4b 2e 46 4f 52 20 | 70 72 6f 67 72 61 6d 20 |ICK.FOR |program |
|00000160| 77 72 69 74 74 65 6e 20 | 62 79 20 41 2e 42 2e 57 |written |by A.B.W|
|00000170| 61 74 73 6f 6e 2e 20 53 | 65 65 0d 41 2e 42 2e 57 |atson. S|ee.A.B.W|
|00000180| 61 74 73 6f 6e 20 28 31 | 39 37 39 29 20 50 72 6f |atson (1|979) Pro|
|00000190| 62 61 62 69 6c 69 74 79 | 20 73 75 6d 6d 61 74 69 |bability| summati|
|000001a0| 6f 6e 20 6f 76 65 72 20 | 74 69 6d 65 2e 20 56 69 |on over |time. Vi|
|000001b0| 73 69 6f 6e 20 52 65 73 | 65 61 72 63 68 20 31 39 |sion Res|earch 19|
|000001c0| 2c 20 35 31 35 2d 35 32 | 32 2e 0d 0d 54 68 65 20 |, 515-52|2...The |
|000001d0| 70 72 69 6e 63 69 70 61 | 6c 20 64 69 66 66 65 72 |principa|l differ|
|000001e0| 65 6e 63 65 20 62 65 74 | 77 65 65 6e 20 74 68 69 |ence bet|ween thi|
|000001f0| 73 20 70 72 6f 67 72 61 | 6d 20 61 6e 64 20 74 68 |s progra|m and th|
|00000200| 65 20 6f 72 69 67 69 6e | 61 6c 20 51 55 49 43 4b |e origin|al QUICK|
|00000210| 2c 20 69 73 20 69 6e 20 | 68 6f 77 0d 74 68 65 20 |, is in |how.the |
|00000220| 67 6f 6f 64 6e 65 73 73 | 20 6f 66 20 66 69 74 20 |goodness| of fit |
|00000230| 69 73 20 63 61 6c 63 75 | 6c 61 74 65 64 2e 20 42 |is calcu|lated. B|
|00000240| 6f 74 68 20 70 72 6f 67 | 72 61 6d 73 20 61 73 73 |oth prog|rams ass|
|00000250| 65 73 73 20 74 68 65 20 | 67 6f 6f 64 6e 65 73 73 |ess the |goodness|
|00000260| 20 6f 66 20 66 69 74 0d | 62 79 20 63 6f 6d 70 61 | of fit.|by compa|
|00000270| 72 69 6e 67 20 74 68 65 | 20 6c 6f 67 20 6c 69 6b |ring the| log lik|
|00000280| 65 6c 69 68 6f 6f 64 73 | 20 6f 66 20 74 68 65 20 |elihoods| of the |
|00000290| 6d 6f 64 65 6c 20 66 69 | 74 20 28 75 73 75 61 6c |model fi|t (usual|
|000002a0| 6c 79 20 57 65 69 62 75 | 6c 6c 29 20 77 69 74 68 |ly Weibu|ll) with|
|000002b0| 0d 61 20 6e 75 6c 6c 20 | 68 79 70 6f 74 68 65 73 |.a null |hypothes|
|000002c0| 69 73 2e 20 4d 69 6e 75 | 73 20 74 77 6f 20 74 69 |is. Minu|s two ti|
|000002d0| 6d 65 73 20 74 68 69 73 | 20 6c 6f 67 20 6c 69 6b |mes this| log lik|
|000002e0| 65 6c 69 68 6f 6f 64 20 | 72 61 74 69 6f 20 69 73 |elihood |ratio is|
|000002f0| 20 61 70 70 72 6f 78 69 | 6d 61 74 65 6c 79 0d 63 | approxi|mately.c|
|00000300| 68 69 20 73 71 75 61 72 | 65 2c 20 77 69 74 68 20 |hi squar|e, with |
|00000310| 61 20 6e 75 6d 62 65 72 | 20 6f 66 20 64 65 67 72 |a number| of degr|
|00000320| 65 65 73 20 6f 66 20 66 | 72 65 65 64 6f 6d 20 65 |ees of f|reedom e|
|00000330| 71 75 61 6c 20 74 6f 20 | 74 68 65 20 64 69 66 66 |qual to |the diff|
|00000340| 65 72 65 6e 63 65 20 69 | 6e 20 0d 64 65 67 72 65 |erence i|n .degre|
|00000350| 65 73 20 6f 66 20 66 72 | 65 65 64 6f 6d 20 6f 66 |es of fr|eedom of|
|00000360| 20 74 68 65 20 74 77 6f | 20 68 79 70 6f 74 68 65 | the two| hypothe|
|00000370| 73 65 73 2e 20 51 55 49 | 43 4b 20 75 73 65 64 20 |ses. QUI|CK used |
|00000380| 61 6e 20 75 6e 63 6f 6e | 73 74 72 61 69 6e 65 64 |an uncon|strained|
|00000390| 20 70 73 79 63 68 6f 6d | 65 74 72 69 63 0d 66 75 | psychom|etric.fu|
|000003a0| 6e 63 74 69 6f 6e 2c 20 | 77 68 69 63 68 20 61 64 |nction, |which ad|
|000003b0| 6f 70 74 65 64 20 74 68 | 65 20 61 63 74 75 61 6c |opted th|e actual|
|000003c0| 20 70 72 6f 70 6f 72 74 | 69 6f 6e 20 63 6f 72 72 | proport|ion corr|
|000003d0| 65 63 74 20 61 74 20 65 | 61 63 68 20 63 6f 6e 74 |ect at e|ach cont|
|000003e0| 72 61 73 74 2e 20 51 75 | 69 63 6b 33 20 75 73 65 |rast. Qu|ick3 use|
|000003f0| 73 0d 61 20 6d 6f 6e 6f | 74 6f 6e 65 20 68 79 70 |s.a mono|tone hyp|
|00000400| 6f 74 68 65 73 69 73 20 | 77 68 69 63 68 20 69 73 |othesis |which is|
|00000410| 20 63 6f 6e 73 74 72 61 | 69 6e 65 64 20 74 6f 20 | constra|ined to |
|00000420| 62 65 20 6d 6f 6e 6f 74 | 6f 6e 69 63 61 6c 6c 79 |be monot|onically|
|00000430| 20 69 6e 63 72 65 61 73 | 69 6e 67 20 61 73 20 61 | increas|ing as a|
|00000440| 20 66 75 6e 63 74 69 6f | 6e 0d 6f 66 20 63 6f 6e | functio|n.of con|
|00000450| 74 72 61 73 74 2e 20 54 | 68 65 20 76 69 72 74 75 |trast. T|he virtu|
|00000460| 65 20 6f 66 20 74 68 65 | 20 6c 61 74 74 65 72 20 |e of the| latter |
|00000470| 68 79 70 6f 74 68 65 73 | 69 73 20 69 73 20 74 68 |hypothes|is is th|
|00000480| 61 74 20 69 74 20 69 73 | 20 65 61 73 69 65 72 20 |at it is| easier |
|00000490| 74 6f 20 65 73 74 69 6d | 61 74 65 0d 69 74 73 20 |to estim|ate.its |
|000004a0| 64 65 67 72 65 65 73 20 | 6f 66 20 66 72 65 65 64 |degrees |of freed|
|000004b0| 6f 6d 20 77 68 65 6e 20 | 74 68 65 72 65 20 61 72 |om when |there ar|
|000004c0| 65 20 75 6e 65 71 75 61 | 6c 20 6e 75 6d 62 65 72 |e unequa|l number|
|000004d0| 73 20 6f 66 20 64 61 74 | 61 20 70 6f 69 6e 74 73 |s of dat|a points|
|000004e0| 20 61 74 20 65 61 63 68 | 20 63 6f 6e 74 72 61 73 | at each| contras|
|000004f0| 74 2e 0d 28 48 6f 77 65 | 76 65 72 2c 20 74 68 69 |t..(Howe|ver, thi|
|00000500| 73 20 65 73 74 69 6d 61 | 74 65 20 69 73 20 73 65 |s estima|te is se|
|00000510| 61 74 2d 6f 66 2d 6d 79 | 2d 70 61 6e 74 73 2e 29 |at-of-my|-pants.)|
|00000520| 20 46 69 6e 61 6c 6c 79 | 2c 20 74 68 69 73 20 70 | Finally|, this p|
|00000530| 72 6f 67 72 61 6d 20 61 | 63 74 75 61 6c 6c 79 20 |rogram a|ctually |
|00000540| 63 6f 6d 70 75 74 65 73 | 0d 74 68 65 20 73 69 67 |computes|.the sig|
|00000550| 6e 69 66 69 63 61 6e 63 | 65 20 66 6f 72 20 79 6f |nificanc|e for yo|
|00000560| 75 2c 20 66 72 6f 6d 20 | 74 68 65 20 63 68 69 20 |u, from |the chi |
|00000570| 73 71 75 61 72 65 20 76 | 61 6c 75 65 20 61 6e 64 |square v|alue and|
|00000580| 20 74 68 65 20 65 73 74 | 69 6d 61 74 65 20 6f 66 | the est|imate of|
|00000590| 20 69 74 73 20 64 65 67 | 72 65 65 73 20 6f 66 0d | its deg|rees of.|
|000005a0| 66 72 65 65 64 6f 6d 2e | 20 54 68 69 73 20 73 69 |freedom.| This si|
|000005b0| 67 6e 69 66 69 63 61 6e | 63 65 20 76 61 6c 75 65 |gnifican|ce value|
|000005c0| 20 69 73 20 6f 66 20 73 | 6f 6d 65 20 75 73 65 20 | is of s|ome use |
|000005d0| 69 6e 20 63 68 6f 6f 73 | 69 6e 67 20 61 20 73 6d |in choos|ing a sm|
|000005e0| 61 6c 6c 20 66 72 61 63 | 74 69 6f 6e 20 6f 66 20 |all frac|tion of |
|000005f0| 79 6f 75 72 0d 66 69 74 | 73 20 74 6f 20 64 69 73 |your.fit|s to dis|
|00000600| 63 61 72 64 20 28 65 2e | 67 2e 20 69 66 20 73 69 |card (e.|g. if si|
|00000610| 67 6e 69 66 69 63 61 6e | 63 65 20 69 73 20 6c 65 |gnifican|ce is le|
|00000620| 73 73 20 74 68 61 6e 20 | 30 2e 30 35 29 2e 20 54 |ss than |0.05). T|
|00000630| 68 69 73 20 73 69 67 6e | 69 66 69 63 61 6e 63 65 |his sign|ificance|
|00000640| 20 69 73 0d 6d 69 73 6c | 65 61 64 69 6e 67 6c 79 | is.misl|eadingly|
|00000650| 20 6c 6f 77 20 77 68 65 | 6e 20 62 6f 74 68 20 68 | low whe|n both h|
|00000660| 79 70 6f 74 68 65 73 65 | 73 20 68 61 76 65 20 6e |ypothese|s have n|
|00000670| 65 61 72 6c 79 20 74 68 | 65 20 73 61 6d 65 20 6e |early th|e same n|
|00000680| 75 6d 62 65 72 20 6f 66 | 20 64 65 67 72 65 65 73 |umber of| degrees|
|00000690| 20 6f 66 0d 66 72 65 65 | 64 6f 6d 20 28 69 2e 65 | of.free|dom (i.e|
|000006a0| 2e 20 79 6f 75 20 6f 6e | 6c 79 20 68 61 76 65 20 |. you on|ly have |
|000006b0| 61 20 66 65 77 20 63 6f | 6e 74 72 61 73 74 73 29 |a few co|ntrasts)|
|000006c0| 2e 20 4c 6f 6f 6b 69 6e | 67 20 61 74 20 74 68 65 |. Lookin|g at the|
|000006d0| 20 73 69 67 6e 69 66 69 | 63 61 6e 63 65 20 69 73 | signifi|cance is|
|000006e0| 20 0d 68 65 6c 70 66 75 | 6c 2c 20 62 75 74 20 6e | .helpfu|l, but n|
|000006f0| 6f 74 20 61 20 73 75 62 | 73 74 69 74 75 74 65 20 |ot a sub|stitute |
|00000700| 66 6f 72 20 74 68 69 6e | 6b 69 6e 67 20 61 62 6f |for thin|king abo|
|00000710| 75 74 20 77 68 65 74 68 | 65 72 20 79 6f 75 72 20 |ut wheth|er your |
|00000720| 72 65 73 75 6c 74 73 20 | 61 72 65 20 72 65 61 6c |results |are real|
|00000730| 6c 79 0d 72 65 61 73 6f | 6e 61 62 6c 65 2e 20 0d |ly.reaso|nable. .|
|00000740| 0d 4e 6f 74 65 20 74 68 | 61 74 20 51 75 69 63 6b |.Note th|at Quick|
|00000750| 33 2e 63 20 69 73 20 6a | 75 73 74 20 61 20 66 72 |3.c is j|ust a fr|
|00000760| 6f 6e 74 20 65 6e 64 2c | 20 64 65 61 6c 69 6e 67 |ont end,| dealing|
|00000770| 20 77 69 74 68 20 74 68 | 65 20 75 73 65 72 20 69 | with th|e user i|
|00000780| 6e 74 65 72 66 61 63 65 | 20 61 6e 64 0d 72 65 61 |nterface| and.rea|
|00000790| 64 69 6e 67 20 61 6e 64 | 20 77 72 69 74 69 6e 67 |ding and| writing|
|000007a0| 20 66 69 6c 65 73 2e 20 | 41 6c 6c 20 74 68 65 20 | files. |All the |
|000007b0| 77 6f 72 6b 20 69 73 20 | 64 6f 6e 65 20 62 79 20 |work is |done by |
|000007c0| 6f 6e 65 20 63 61 6c 6c | 20 74 6f 20 50 73 79 63 |one call| to Psyc|
|000007d0| 68 6f 6d 65 74 72 69 63 | 46 69 74 28 29 2e 0d 49 |hometric|Fit()..I|
|000007e0| 6e 20 6d 61 6e 79 20 63 | 61 73 65 73 20 69 74 20 |n many c|ases it |
|000007f0| 77 69 6c 6c 20 62 65 20 | 63 6f 6e 76 65 6e 69 65 |will be |convenie|
|00000800| 6e 74 20 74 6f 20 63 61 | 6c 6c 20 74 68 61 74 20 |nt to ca|ll that |
|00000810| 72 6f 75 74 69 6e 65 20 | 64 69 72 65 63 74 6c 79 |routine |directly|
|00000820| 20 66 72 6f 6d 20 0d 79 | 6f 75 72 20 70 72 6f 67 | from .y|our prog|
|00000830| 72 61 6d 20 74 68 61 74 | 20 63 6f 6c 6c 65 63 74 |ram that| collect|
|00000840| 73 20 28 6f 72 20 67 65 | 6e 65 72 61 74 65 73 29 |s (or ge|nerates)|
|00000850| 20 74 68 65 20 64 61 74 | 61 2c 20 72 61 74 68 65 | the dat|a, rathe|
|00000860| 72 20 74 68 61 6e 20 73 | 61 76 69 6e 67 20 74 68 |r than s|aving th|
|00000870| 65 20 64 61 74 61 0d 69 | 6e 20 61 20 66 69 6c 65 |e data.i|n a file|
|00000880| 20 66 6f 72 20 73 75 62 | 73 65 71 75 65 6e 74 20 | for sub|sequent |
|00000890| 61 6e 61 6c 79 73 69 73 | 20 62 79 20 51 75 69 63 |analysis| by Quic|
|000008a0| 6b 33 2e 63 2e 20 49 66 | 20 79 6f 75 20 77 61 6e |k3.c. If| you wan|
|000008b0| 74 20 74 6f 20 75 73 65 | 20 61 20 70 73 79 63 68 |t to use| a psych|
|000008c0| 6f 6d 65 74 72 69 63 0d | 6d 6f 64 65 6c 20 6f 74 |ometric.|model ot|
|000008d0| 68 65 72 20 74 68 61 6e | 20 74 68 65 20 57 65 69 |her than| the Wei|
|000008e0| 62 75 6c 6c 20 66 75 6e | 63 74 69 6f 6e 20 61 6c |bull fun|ction al|
|000008f0| 6c 20 79 6f 75 20 6e 65 | 65 64 20 74 6f 20 64 6f |l you ne|ed to do|
|00000900| 20 69 73 20 77 72 69 74 | 65 20 61 20 73 6d 61 6c | is writ|e a smal|
|00000910| 6c 20 66 75 6e 63 74 69 | 6f 6e 0d 74 6f 20 69 6d |l functi|on.to im|
|00000920| 70 6c 65 6d 65 6e 74 20 | 69 74 2c 20 62 61 73 65 |plement |it, base|
|00000930| 64 20 6f 6e 20 57 65 69 | 62 75 6c 6c 2e 63 2e 20 |d on Wei|bull.c. |
|00000940| 49 74 20 73 68 6f 75 6c | 64 20 62 65 20 65 61 73 |It shoul|d be eas|
|00000950| 79 2e 20 50 73 79 63 68 | 6f 6d 65 74 72 69 63 46 |y. Psych|ometricF|
|00000960| 69 74 28 29 0d 75 73 65 | 73 20 77 68 61 74 65 76 |it().use|s whatev|
|00000970| 65 72 20 70 73 79 63 68 | 6f 6d 65 74 72 69 63 20 |er psych|ometric |
|00000980| 66 75 6e 63 74 69 6f 6e | 20 69 73 20 73 75 70 70 |function| is supp|
|00000990| 6c 69 65 64 20 69 6e 20 | 74 68 65 20 63 61 6c 6c |lied in |the call|
|000009a0| 2e 0d 0d 51 75 69 63 6b | 33 20 72 65 61 64 73 20 |...Quick|3 reads |
|000009b0| 69 6e 20 79 6f 75 72 20 | 64 61 74 61 20 66 72 6f |in your |data fro|
|000009c0| 6d 20 61 20 74 65 78 74 | 20 66 69 6c 65 20 61 6e |m a text| file an|
|000009d0| 64 20 61 6e 61 6c 79 7a | 65 73 20 74 68 65 6d 2e |d analyz|es them.|
|000009e0| 20 0d 54 68 65 20 72 65 | 73 75 6c 74 73 20 61 72 | .The re|sults ar|
|000009f0| 65 20 73 68 6f 77 6e 20 | 6f 6e 20 74 68 65 20 73 |e shown |on the s|
|00000a00| 63 72 65 65 6e 2c 20 61 | 6e 64 20 61 72 65 20 73 |creen, a|nd are s|
|00000a10| 61 76 65 64 20 69 6e 20 | 74 77 6f 20 6b 69 6e 64 |aved in |two kind|
|00000a20| 73 20 6f 66 0d 6f 75 74 | 70 75 74 20 66 69 6c 65 |s of.out|put file|
|00000a30| 2e 20 54 68 65 20 2e 66 | 69 74 20 66 69 6c 65 20 |. The .f|it file |
|00000a40| 69 73 20 69 6e 20 45 78 | 63 65 6c 20 66 6f 72 6d |is in Ex|cel form|
|00000a50| 61 74 20 61 6e 64 20 68 | 61 73 20 6a 75 73 74 20 |at and h|as just |
|00000a60| 61 20 6d 69 6e 69 6d 61 | 6c 20 6f 6e 65 2d 6c 69 |a minima|l one-li|
|00000a70| 6e 65 0d 73 75 6d 6d 61 | 72 79 20 66 6f 72 20 65 |ne.summa|ry for e|
|00000a80| 61 63 68 20 63 6f 6e 64 | 69 74 69 6f 6e 2c 20 67 |ach cond|ition, g|
|00000a90| 69 76 69 6e 67 20 74 68 | 65 20 70 61 72 61 6d 65 |iving th|e parame|
|00000aa0| 74 65 72 73 20 61 6e 64 | 20 67 6f 6f 64 6e 65 73 |ters and| goodnes|
|00000ab0| 73 20 6f 66 20 66 69 74 | 2e 20 54 68 65 20 2e 70 |s of fit|. The .p|
|00000ac0| 6c 6f 74 0d 66 69 6c 65 | 20 69 73 20 69 6e 20 43 |lot.file| is in C|
|00000ad0| 72 69 63 6b 65 74 47 72 | 61 70 68 20 66 6f 72 6d |ricketGr|aph form|
|00000ae0| 61 74 20 61 6e 64 20 69 | 73 20 73 75 69 74 61 62 |at and i|s suitab|
|00000af0| 6c 65 20 66 6f 72 20 70 | 6c 6f 74 74 69 6e 67 20 |le for p|lotting |
|00000b00| 74 68 65 20 70 73 79 63 | 68 6f 6d 65 74 72 69 63 |the psyc|hometric|
|00000b10| 0d 64 61 74 61 20 61 6c | 6f 6e 67 20 77 69 74 68 |.data al|ong with|
|00000b20| 20 74 68 65 20 57 65 69 | 62 75 6c 6c 20 61 6e 64 | the Wei|bull and|
|00000b30| 20 4d 6f 6e 6f 74 6f 6e | 69 63 20 66 69 74 73 2e | Monoton|ic fits.|
|00000b40| 20 46 6f 72 20 4d 61 63 | 69 6e 74 6f 73 68 20 75 | For Mac|intosh u|
|00000b50| 73 65 72 73 2c 20 74 68 | 65 20 6f 75 74 70 75 74 |sers, th|e output|
|00000b60| 20 66 69 6c 65 73 0d 61 | 72 65 20 54 45 58 54 20 | files.a|re TEXT |
|00000b70| 66 69 6c 65 73 2c 20 62 | 75 74 20 68 61 76 65 20 |files, b|ut have |
|00000b80| 74 68 65 20 61 70 70 72 | 6f 70 72 69 61 74 65 20 |the appr|opriate |
|00000b90| 63 72 65 61 74 6f 72 20 | 73 6f 20 74 68 61 74 20 |creator |so that |
|00000ba0| 64 6f 75 62 6c 65 2d 63 | 6c 69 63 6b 69 6e 67 20 |double-c|licking |
|00000bb0| 74 68 65 6d 0d 6f 70 65 | 6e 73 20 74 68 65 20 64 |them.ope|ns the d|
|00000bc0| 61 74 61 20 66 69 6c 65 | 20 69 6e 20 74 68 65 20 |ata file| in the |
|00000bd0| 61 70 70 72 6f 70 72 69 | 61 74 65 20 61 70 70 6c |appropri|ate appl|
|00000be0| 69 63 61 74 69 6f 6e 2c | 20 65 69 74 68 65 72 20 |ication,| either |
|00000bf0| 45 78 63 65 6c 20 6f 72 | 20 43 72 69 63 6b 65 74 |Excel or| Cricket|
|00000c00| 20 47 72 61 70 68 2e 0d | 0d 59 6f 75 20 73 68 6f | Graph..|.You sho|
|00000c10| 75 6c 64 20 61 6c 73 6f | 20 68 61 76 65 20 72 65 |uld also| have re|
|00000c20| 63 65 69 76 65 64 20 61 | 20 43 72 69 63 6b 65 74 |ceived a| Cricket|
|00000c30| 47 72 61 70 68 20 66 6f | 72 6d 61 74 20 66 69 6c |Graph fo|rmat fil|
|00000c40| 65 20 63 61 6c 6c 65 64 | 20 22 43 72 69 63 6b 65 |e called| "Cricke|
|00000c50| 74 47 72 61 70 68 20 51 | 75 69 63 6b 33 22 2e 0d |tGraph Q|uick3"..|
|00000c60| 50 75 74 20 74 68 69 73 | 20 66 69 6c 65 20 69 6e |Put this| file in|
|00000c70| 20 74 68 65 20 73 61 6d | 65 20 66 6f 6c 64 65 72 | the sam|e folder|
|00000c80| 20 61 73 20 74 68 65 20 | 43 72 69 63 6b 65 74 47 | as the |CricketG|
|00000c90| 72 61 70 68 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |raph app|lication|
|00000ca0| 2e 20 57 68 65 6e 20 43 | 72 69 63 6b 65 74 47 72 |. When C|ricketGr|
|00000cb0| 61 70 68 0d 73 74 61 72 | 74 73 20 75 70 20 69 74 |aph.star|ts up it|
|00000cc0| 20 77 69 6c 6c 20 72 65 | 61 64 20 69 6e 20 74 68 | will re|ad in th|
|00000cd0| 65 20 66 6f 72 6d 61 74 | 20 66 69 6c 65 2c 20 61 |e format| file, a|
|00000ce0| 6e 64 20 6c 61 74 65 72 | 20 79 6f 75 27 6c 6c 20 |nd later| you'll |
|00000cf0| 62 65 20 61 62 6c 65 20 | 74 6f 20 73 65 6c 65 63 |be able |to selec|
|00000d00| 74 20 74 68 61 74 0d 66 | 6f 72 6d 61 74 20 66 72 |t that.f|ormat fr|
|00000d10| 6f 6d 20 43 72 69 63 6b | 65 74 47 72 61 70 68 27 |om Crick|etGraph'|
|00000d20| 73 20 46 6f 72 6d 61 74 | 20 6d 65 6e 75 20 77 68 |s Format| menu wh|
|00000d30| 65 6e 20 79 6f 75 20 70 | 6c 6f 74 20 79 6f 75 72 |en you p|lot your|
|00000d40| 20 64 61 74 61 2e 0d 0d | 51 75 69 63 6b 33 27 73 | data...|Quick3's|
|00000d50| 20 69 6e 70 75 74 20 66 | 69 6c 65 20 66 6f 72 6d | input f|ile form|
|00000d60| 61 74 20 69 73 20 73 69 | 6d 70 6c 65 20 61 6e 64 |at is si|mple and|
|00000d70| 20 66 6c 65 78 69 62 6c | 65 2e 20 49 74 20 69 73 | flexibl|e. It is|
|00000d80| 20 61 20 74 65 78 74 20 | 66 69 6c 65 2e 20 0d 4c | a text |file. .L|
|00000d90| 69 6e 65 73 20 62 65 67 | 69 6e 6e 69 6e 67 20 77 |ines beg|inning w|
|00000da0| 69 74 68 20 22 23 22 20 | 61 72 65 20 74 72 65 61 |ith "#" |are trea|
|00000db0| 74 65 64 20 61 73 20 63 | 6f 6d 6d 65 6e 74 73 2e |ted as c|omments.|
|00000dc0| 20 43 6f 6d 6d 65 6e 74 | 73 20 61 72 65 20 65 69 | Comment|s are ei|
|00000dd0| 74 68 65 72 20 63 6f 70 | 69 65 64 20 64 69 72 65 |ther cop|ied dire|
|00000de0| 63 74 6c 79 20 74 6f 0d | 74 68 65 20 2e 66 69 74 |ctly to.|the .fit|
|00000df0| 20 66 69 6c 65 2c 20 6f | 72 20 75 73 65 64 20 61 | file, o|r used a|
|00000e00| 73 20 61 20 6e 61 6d 65 | 20 66 6f 72 20 74 68 65 |s a name| for the|
|00000e10| 20 6e 65 78 74 20 22 63 | 6f 6e 64 69 74 69 6f 6e | next "c|ondition|
|00000e20| 22 20 28 69 2e 65 2e 20 | 62 6c 6f 63 6b 0d 6f 66 |" (i.e. |block.of|
|00000e30| 20 64 61 74 61 29 2e 20 | 54 68 65 20 66 69 6c 65 | data). |The file|
|00000e40| 20 6d 75 73 74 20 62 65 | 67 69 6e 20 77 69 74 68 | must be|gin with|
|00000e50| 20 61 74 20 6c 65 61 73 | 74 20 6f 6e 65 20 63 6f | at leas|t one co|
|00000e60| 6d 6d 65 6e 74 20 6c 69 | 6e 65 2e 20 54 68 65 20 |mment li|ne. The |
|00000e70| 6c 61 73 74 20 6f 66 20 | 73 65 76 65 72 61 6c 0d |last of |several.|
|00000e80| 63 6f 6e 74 69 67 75 6f | 75 73 20 63 6f 6d 6d 65 |contiguo|us comme|
|00000e90| 6e 74 20 6c 69 6e 65 73 | 20 77 69 6c 6c 20 62 65 |nt lines| will be|
|00000ea0| 20 74 61 6b 65 6e 20 74 | 6f 20 62 65 20 74 68 65 | taken t|o be the|
|00000eb0| 20 6e 61 6d 65 20 66 6f | 72 20 74 68 65 20 66 6f | name fo|r the fo|
|00000ec0| 6c 6c 6f 77 69 6e 67 20 | 63 6f 6e 64 69 74 69 6f |llowing |conditio|
|00000ed0| 6e 2e 0d 41 6c 6c 20 74 | 68 65 20 6e 6f 6e 2d 63 |n..All t|he non-c|
|00000ee0| 6f 6d 6d 65 6e 74 20 6c | 69 6e 65 73 20 75 6e 74 |omment l|ines unt|
|00000ef0| 69 6c 20 74 68 65 20 6e | 65 78 74 20 63 6f 6d 6d |il the n|ext comm|
|00000f00| 65 6e 74 20 77 69 6c 6c | 20 62 65 20 69 6e 74 65 |ent will| be inte|
|00000f10| 72 70 72 65 74 65 64 20 | 61 73 20 74 68 65 20 64 |rpreted |as the d|
|00000f20| 61 74 61 0d 66 6f 72 20 | 74 68 61 74 20 63 6f 6e |ata.for |that con|
|00000f30| 64 69 74 69 6f 6e 2e 0d | 0d 41 6e 20 65 78 70 65 |dition..|.An expe|
|00000f40| 72 69 6d 65 6e 74 20 75 | 73 75 61 6c 6c 79 20 63 |riment u|sually c|
|00000f50| 6f 6e 73 69 73 74 73 20 | 6f 66 20 73 65 76 65 72 |onsists |of sever|
|00000f60| 61 6c 20 63 6f 6e 64 69 | 74 69 6f 6e 73 2c 20 6f |al condi|tions, o|
|00000f70| 72 20 62 6c 6f 63 6b 73 | 20 6f 66 20 74 72 69 61 |r blocks| of tria|
|00000f80| 6c 73 2e 0d 57 69 74 68 | 69 6e 20 74 68 65 20 63 |ls..With|in the c|
|00000f90| 6f 6e 64 69 74 69 6f 6e | 20 74 68 65 20 6f 62 73 |ondition| the obs|
|00000fa0| 65 72 76 65 72 20 77 69 | 6c 6c 20 62 65 20 74 65 |erver wi|ll be te|
|00000fb0| 73 74 65 64 20 72 65 70 | 65 61 74 65 64 6c 79 20 |sted rep|eatedly |
|00000fc0| 61 74 20 76 61 72 69 6f | 75 73 20 63 6f 6e 74 72 |at vario|us contr|
|00000fd0| 61 73 74 73 2e 0d 54 68 | 65 20 72 65 73 75 6c 74 |asts..Th|e result|
|00000fe0| 73 20 63 6f 6e 73 69 73 | 74 20 6f 66 20 74 68 65 |s consis|t of the|
|00000ff0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 74 72 69 61 6c | number |of trial|
|00001000| 73 20 63 6f 72 72 65 63 | 74 20 61 74 20 65 61 63 |s correc|t at eac|
|00001010| 68 20 63 6f 6e 74 72 61 | 73 74 2e 20 54 68 65 20 |h contra|st. The |
|00001020| 72 65 73 75 6c 74 73 0d | 6d 61 79 20 62 65 20 64 |results.|may be d|
|00001030| 65 73 63 72 69 62 65 64 | 20 62 79 20 61 20 73 65 |escribed| by a se|
|00001040| 74 20 6f 66 20 22 63 6f | 6e 74 72 61 73 74 20 72 |t of "co|ntrast r|
|00001050| 65 63 6f 72 64 73 22 2e | 20 45 61 63 68 20 63 6f |ecords".| Each co|
|00001060| 6e 74 72 61 73 74 20 72 | 65 63 6f 72 64 0d 63 6f |ntrast r|ecord.co|
|00001070| 6e 73 69 73 74 73 20 6f | 66 20 61 20 63 6f 6e 74 |nsists o|f a cont|
|00001080| 72 61 73 74 20 28 65 2e | 67 2e 20 30 2e 30 31 32 |rast (e.|g. 0.012|
|00001090| 29 2c 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |), the n|umber of|
|000010a0| 20 74 72 69 61 6c 73 20 | 61 74 20 74 68 61 74 20 | trials |at that |
|000010b0| 63 6f 6e 74 72 61 73 74 | 20 28 65 2e 67 2e 20 31 |contrast| (e.g. 1|
|000010c0| 20 6f 72 0d 31 30 30 29 | 2c 20 61 6e 64 20 74 68 | or.100)|, and th|
|000010d0| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 63 6f 72 72 |e number| of corr|
|000010e0| 65 63 74 20 72 65 73 70 | 6f 6e 73 65 73 20 28 65 |ect resp|onses (e|
|000010f0| 2e 67 2e 20 30 20 6f 72 | 20 37 39 29 2e 20 51 75 |.g. 0 or| 79). Qu|
|00001100| 69 63 6b 33 20 65 78 70 | 65 63 74 73 20 61 20 63 |ick3 exp|ects a c|
|00001110| 6f 6e 74 72 61 73 74 0d | 72 65 63 6f 72 64 20 74 |ontrast.|record t|
|00001120| 6f 20 6c 6f 6f 6b 20 6c | 69 6b 65 20 74 68 69 73 |o look l|ike this|
|00001130| 3a 0d 30 2e 30 31 32 20 | 31 30 30 20 37 39 0d 54 |:.0.012 |100 79.T|
|00001140| 68 65 20 74 68 72 65 65 | 20 6e 75 6d 62 65 72 73 |he three| numbers|
|00001150| 20 61 72 65 20 61 6c 6c | 20 6f 6e 20 6f 6e 65 20 | are all| on one |
|00001160| 6c 69 6e 65 2c 20 61 6e | 64 20 73 65 70 61 72 61 |line, an|d separa|
|00001170| 74 65 64 20 62 79 20 77 | 68 69 74 65 20 73 70 61 |ted by w|hite spa|
|00001180| 63 65 2c 0d 73 6f 20 73 | 73 63 61 6e 66 20 63 61 |ce,.so s|scanf ca|
|00001190| 6e 20 70 61 72 73 65 20 | 74 68 65 6d 2e 20 41 6e |n parse |them. An|
|000011a0| 79 74 68 69 6e 67 20 6f | 6e 20 74 68 65 20 6c 69 |ything o|n the li|
|000011b0| 6e 65 20 61 66 74 65 72 | 20 74 68 65 20 74 68 69 |ne after| the thi|
|000011c0| 72 64 20 6e 75 6d 62 65 | 72 20 69 73 20 69 67 6e |rd numbe|r is ign|
|000011d0| 6f 72 65 64 2e 0d 41 6c | 6c 20 63 6f 6e 74 72 61 |ored..Al|l contra|
|000011e0| 73 74 20 72 65 63 6f 72 | 64 73 20 75 6e 74 69 6c |st recor|ds until|
|000011f0| 20 74 68 65 20 6e 65 78 | 74 20 63 6f 6d 6d 65 6e | the nex|t commen|
|00001200| 74 20 28 6c 69 6e 65 20 | 62 65 67 69 6e 6e 69 6e |t (line |beginnin|
|00001210| 67 20 77 69 74 68 20 22 | 23 22 29 20 6f 72 20 74 |g with "|#") or t|
|00001220| 68 65 20 65 6e 64 20 6f | 66 20 66 69 6c 65 0d 61 |he end o|f file.a|
|00001230| 72 65 20 61 73 73 75 6d | 65 64 20 74 6f 20 62 65 |re assum|ed to be|
|00001240| 20 66 72 6f 6d 20 74 68 | 65 20 73 61 6d 65 20 63 | from th|e same c|
|00001250| 6f 6e 64 69 74 69 6f 6e | 20 61 6e 64 20 61 72 65 |ondition| and are|
|00001260| 20 61 6e 61 6c 79 7a 65 | 64 20 74 6f 67 65 74 68 | analyze|d togeth|
|00001270| 65 72 2e 20 54 68 65 20 | 63 6f 6e 74 72 61 73 74 |er. The |contrast|
|00001280| 20 0d 72 65 63 6f 72 64 | 73 20 6d 61 79 20 62 65 | .record|s may be|
|00001290| 20 69 6e 20 61 6e 79 20 | 6f 72 64 65 72 2e 20 54 | in any |order. T|
|000012a0| 68 65 20 72 65 63 6f 72 | 64 73 20 77 69 6c 6c 20 |he recor|ds will |
|000012b0| 62 65 20 73 6f 72 74 65 | 64 20 69 6e 74 6f 20 6f |be sorte|d into o|
|000012c0| 72 64 65 72 20 6f 66 20 | 61 73 63 65 6e 64 69 6e |rder of |ascendin|
|000012d0| 67 20 63 6f 6e 74 72 61 | 73 74 2e 0d 59 6f 75 20 |g contra|st..You |
|000012e0| 6d 61 79 20 68 61 76 65 | 20 61 6e 79 20 6e 75 6d |may have| any num|
|000012f0| 62 65 72 20 6f 66 20 74 | 72 69 61 6c 73 20 61 74 |ber of t|rials at|
|00001300| 20 65 61 63 68 20 63 6f | 6e 74 72 61 73 74 2c 20 | each co|ntrast, |
|00001310| 75 70 20 74 6f 20 61 62 | 6f 75 74 20 74 77 6f 20 |up to ab|out two |
|00001320| 62 69 6c 6c 69 6f 6e 20 | 28 69 2e 65 2e 20 0d 4c |billion |(i.e. .L|
|00001330| 4f 4e 47 5f 4d 41 58 20 | 69 6e 20 6c 69 6d 69 74 |ONG_MAX |in limit|
|00001340| 73 2e 68 29 2e 20 49 74 | 27 73 20 6f 6b 61 79 20 |s.h). It|'s okay |
|00001350| 74 6f 20 68 61 76 65 20 | 6d 75 6c 74 69 70 6c 65 |to have |multiple|
|00001360| 20 72 65 63 6f 72 64 73 | 20 77 69 74 68 20 65 71 | records| with eq|
|00001370| 75 61 6c 20 63 6f 6e 74 | 72 61 73 74 73 2e 20 54 |ual cont|rasts. T|
|00001380| 68 65 20 64 61 74 61 0d | 77 69 6c 6c 20 62 65 20 |he data.|will be |
|00001390| 6d 65 72 67 65 64 2c 20 | 61 64 64 69 6e 67 20 75 |merged, |adding u|
|000013a0| 70 20 74 68 65 20 74 72 | 69 61 6c 73 20 61 74 20 |p the tr|ials at |
|000013b0| 74 68 61 74 20 63 6f 6e | 74 72 61 73 74 2e 20 59 |that con|trast. Y|
|000013c0| 6f 75 20 63 61 6e 20 65 | 76 65 6e 20 62 65 20 72 |ou can e|ven be r|
|000013d0| 65 61 6c 6c 79 20 6c 61 | 7a 79 20 61 6e 64 0d 6a |eally la|zy and.j|
|000013e0| 75 73 74 20 77 72 69 74 | 65 20 6f 75 74 20 65 61 |ust writ|e out ea|
|000013f0| 63 68 20 74 72 69 61 6c | 20 61 73 20 61 20 73 65 |ch trial| as a se|
|00001400| 70 61 72 61 74 65 20 63 | 6f 6e 74 72 61 73 74 20 |parate c|ontrast |
|00001410| 72 65 63 6f 72 64 2c 20 | 69 6e 20 77 68 61 74 65 |record, |in whate|
|00001420| 76 65 72 20 6f 72 64 65 | 72 2c 20 77 69 74 68 6f |ver orde|r, witho|
|00001430| 75 74 0d 6b 65 65 70 69 | 6e 67 20 74 72 61 63 6b |ut.keepi|ng track|
|00001440| 20 6f 66 20 68 6f 77 20 | 6d 61 6e 79 2c 20 65 74 | of how |many, et|
|00001450| 63 2e 20 0d 0d 59 6f 75 | 20 6d 61 79 20 61 64 64 |c. ..You| may add|
|00001460| 20 72 65 63 6f 72 64 73 | 20 77 69 74 68 20 7a 65 | records| with ze|
|00001470| 72 6f 20 74 72 69 61 6c | 73 20 28 61 6e 64 20 7a |ro trial|s (and z|
|00001480| 65 72 6f 20 63 6f 72 72 | 65 63 74 29 20 73 6f 20 |ero corr|ect) so |
|00001490| 61 73 20 74 6f 20 68 61 | 76 65 20 66 69 74 74 65 |as to ha|ve fitte|
|000014a0| 64 0d 76 61 6c 75 65 73 | 20 63 6f 6d 70 75 74 65 |d.values| compute|
|000014b0| 64 20 61 74 20 74 68 6f | 73 65 20 63 6f 6e 74 72 |d at tho|se contr|
|000014c0| 61 73 74 73 20 69 6e 20 | 74 68 65 20 2e 70 6c 6f |asts in |the .plo|
|000014d0| 74 20 66 69 6c 65 2e 0d | 0d 48 65 72 65 27 73 20 |t file..|.Here's |
|000014e0| 61 6e 20 65 78 61 6d 70 | 6c 65 20 6f 66 20 61 20 |an examp|le of a |
|000014f0| 64 61 74 61 20 66 69 6c | 65 2c 20 73 75 69 74 61 |data fil|e, suita|
|00001500| 62 6c 65 20 66 6f 72 20 | 61 6e 61 6c 79 73 69 73 |ble for |analysis|
|00001510| 20 62 79 20 51 75 69 63 | 6b 33 3a 0d 23 54 68 69 | by Quic|k3:.#Thi|
|00001520| 73 20 69 73 20 61 20 73 | 61 6d 70 6c 65 20 66 69 |s is a s|ample fi|
|00001530| 6c 65 2e 20 0d 23 54 68 | 65 20 66 69 72 73 74 20 |le. .#Th|e first |
|00001540| 63 6f 6e 64 69 74 69 6f | 6e 20 69 73 20 63 61 6c |conditio|n is cal|
|00001550| 6c 65 64 20 22 6d 6f 6e | 6f 63 75 6c 61 72 22 20 |led "mon|ocular" |
|00001560| 61 6e 64 20 68 61 73 20 | 36 30 20 74 72 69 61 6c |and has |60 trial|
|00001570| 73 20 61 74 20 36 20 63 | 6f 6e 74 72 61 73 74 73 |s at 6 c|ontrasts|
|00001580| 2e 0d 23 6d 6f 6e 6f 63 | 75 6c 61 72 0d 30 2e 31 |..#monoc|ular.0.1|
|00001590| 20 31 30 20 34 0d 30 2e | 32 20 31 30 20 35 0d 30 | 10 4.0.|2 10 5.0|
|000015a0| 2e 33 20 31 30 20 37 0d | 30 2e 34 20 31 30 20 36 |.3 10 7.|0.4 10 6|
|000015b0| 20 41 6e 79 74 68 69 6e | 67 20 61 66 74 65 72 20 | Anythin|g after |
|000015c0| 74 68 65 20 73 70 65 63 | 69 66 69 65 64 20 64 61 |the spec|ified da|
|000015d0| 74 61 20 69 73 20 69 67 | 6e 6f 72 65 64 2e 0d 30 |ta is ig|nored..0|
|000015e0| 2e 35 20 31 30 20 38 0d | 30 2e 36 20 31 30 20 31 |.5 10 8.|0.6 10 1|
|000015f0| 30 0d 23 20 54 68 65 20 | 22 62 69 6e 6f 63 75 6c |0.# The |"binocul|
|00001600| 61 72 22 20 63 6f 6e 64 | 69 74 69 6f 6e 20 69 73 |ar" cond|ition is|
|00001610| 20 62 69 67 67 65 72 3a | 20 31 30 30 30 20 74 72 | bigger:| 1000 tr|
|00001620| 69 61 6c 73 2e 0d 23 62 | 69 6e 6f 63 75 6c 61 72 |ials..#b|inocular|
|00001630| 0d 20 30 2e 30 35 36 20 | 20 20 20 20 31 30 30 20 |. 0.056 | 100 |
|00001640| 20 20 20 35 33 0d 20 30 | 2e 30 36 34 20 20 20 20 | 53. 0|.064 |
|00001650| 20 31 30 30 20 20 20 20 | 35 33 0d 20 30 2e 30 37 | 100 |53. 0.07|
|00001660| 33 20 20 20 20 20 31 30 | 30 20 20 20 20 36 35 0d |3 10|0 65.|
|00001670| 20 30 2e 30 38 33 20 20 | 20 20 20 31 30 30 20 20 | 0.083 | 100 |
|00001680| 20 20 37 37 0d 20 30 2e | 30 39 34 20 20 20 20 20 | 77. 0.|094 |
|00001690| 31 30 30 20 20 20 20 38 | 31 0d 20 30 2e 31 30 37 |100 8|1. 0.107|
|000016a0| 20 20 20 20 20 31 30 30 | 20 20 20 20 38 34 0d 20 | 100| 84. |
|000016b0| 30 2e 31 32 31 20 20 20 | 20 20 31 30 30 20 20 20 |0.121 | 100 |
|000016c0| 20 39 36 0d 20 30 2e 31 | 33 38 20 20 20 20 20 31 | 96. 0.1|38 1|
|000016d0| 30 30 20 20 20 20 39 39 | 0d 20 30 2e 31 35 36 20 |00 99|. 0.156 |
|000016e0| 20 20 20 20 31 30 30 20 | 20 20 31 30 30 0d 20 30 | 100 | 100. 0|
|000016f0| 2e 31 37 38 20 20 20 20 | 20 31 30 30 20 20 20 31 |.178 | 100 1|
|00001700| 30 30 0d 23 61 6c 6c 20 | 64 6f 6e 65 0d 0d 48 65 |00.#all |done..He|
|00001710| 72 65 27 73 20 74 68 65 | 20 72 65 73 75 6c 74 69 |re's the| resulti|
|00001720| 6e 67 20 2e 66 69 74 20 | 66 69 6c 65 20 28 74 61 |ng .fit |file (ta|
|00001730| 62 73 20 77 69 6c 6c 20 | 73 70 61 63 65 20 70 72 |bs will |space pr|
|00001740| 6f 70 65 72 6c 79 20 69 | 6e 20 45 78 63 65 6c 2c |operly i|n Excel,|
|00001750| 20 62 75 74 20 6e 6f 74 | 20 68 65 72 65 29 3a 0d | but not| here):.|
|00001760| 43 6f 6e 64 69 74 69 6f | 6e 09 6c 6f 67 41 6c 70 |Conditio|n.logAlp|
|00001770| 68 61 09 62 65 74 61 09 | 67 61 6d 6d 61 09 64 65 |ha.beta.|gamma.de|
|00001780| 6c 74 61 09 66 72 65 65 | 20 70 61 72 61 6d 73 09 |lta.free| params.|
|00001790| 73 69 67 6e 69 66 2e 09 | 43 68 69 20 73 71 2e 09 |signif..|Chi sq..|
|000017a0| 64 2e 66 2e 09 74 72 69 | 61 6c 73 09 63 6f 6e 74 |d.f..tri|als.cont|
|000017b0| 72 61 73 74 73 0d 23 54 | 68 69 73 20 69 73 20 61 |rasts.#T|his is a|
|000017c0| 20 73 61 6d 70 6c 65 20 | 66 69 6c 65 2e 20 0d 23 | sample |file. .#|
|000017d0| 54 68 65 20 66 69 72 73 | 74 20 63 6f 6e 64 69 74 |The firs|t condit|
|000017e0| 69 6f 6e 20 69 73 20 63 | 61 6c 6c 65 64 20 22 6d |ion is c|alled "m|
|000017f0| 6f 6e 6f 63 75 6c 61 72 | 22 20 61 6e 64 20 63 6f |onocular|" and co|
|00001800| 6e 74 61 69 6e 73 20 36 | 30 20 74 72 69 61 6c 73 |ntains 6|0 trials|
|00001810| 20 61 74 20 36 20 63 6f | 6e 74 72 61 73 74 73 2e | at 6 co|ntrasts.|
|00001820| 0d 6d 6f 6e 6f 63 75 6c | 61 72 09 2d 30 2e 33 30 |.monocul|ar.-0.30|
|00001830| 35 09 38 2e 32 36 39 09 | 30 2e 35 32 34 09 30 09 |5.8.269.|0.524.0.|
|00001840| 34 09 30 2e 31 38 33 09 | 31 2e 37 37 33 09 31 09 |4.0.183.|1.773.1.|
|00001850| 36 30 09 36 0d 23 20 54 | 68 65 20 22 62 69 6e 6f |60.6.# T|he "bino|
|00001860| 63 75 6c 61 72 22 20 63 | 6f 6e 64 69 74 69 6f 6e |cular" c|ondition|
|00001870| 20 69 73 20 62 69 67 67 | 65 72 3a 20 31 30 30 30 | is bigg|er: 1000|
|00001880| 20 74 72 69 61 6c 73 2e | 0d 62 69 6e 6f 63 75 6c | trials.|.binocul|
|00001890| 61 72 09 2d 31 2e 30 31 | 35 09 33 2e 38 31 31 09 |ar.-1.01|5.3.811.|
|000018a0| 30 2e 34 38 32 09 30 09 | 34 09 30 2e 34 37 39 09 |0.482.0.|4.0.479.|
|000018b0| 35 2e 35 32 31 09 36 09 | 31 30 30 30 09 31 30 0d |5.521.6.|1000.10.|
|000018c0| 23 61 6c 6c 20 64 6f 6e | 65 09 09 09 09 09 09 09 |#all don|e.......|
|000018d0| 09 09 09 0d 0d 53 4f 55 | 52 43 45 53 3a 0d 0d 51 |.....SOU|RCES:..Q|
|000018e0| 75 69 63 6b 33 2e 68 0d | 4c 6f 67 4c 69 6b 65 6c |uick3.h.|LogLikel|
|000018f0| 69 68 6f 6f 64 2e 63 0d | 4d 6f 6e 6f 74 6f 6e 69 |ihood.c.|Monotoni|
|00001900| 63 46 69 74 2e 63 0d 50 | 73 79 63 68 6f 6d 65 74 |cFit.c.P|sychomet|
|00001910| 72 69 63 46 69 74 2e 63 | 0d 51 75 69 63 6b 33 2e |ricFit.c|.Quick3.|
|00001920| 63 0d 53 6f 72 74 41 6e | 64 4d 65 72 67 65 43 6f |c.SortAn|dMergeCo|
|00001930| 6e 74 72 61 73 74 73 2e | 63 0d 57 65 69 62 75 6c |ntrasts.|c.Weibul|
|00001940| 6c 2e 63 0d 23 46 72 6f | 6d 20 44 65 6e 69 73 20 |l.c.#Fro|m Denis |
|00001950| 50 65 6c 6c 69 27 73 20 | 56 69 64 65 6f 54 6f 6f |Pelli's |VideoToo|
|00001960| 6c 62 6f 78 3a 0d 56 69 | 64 65 6f 54 6f 6f 6c 62 |lbox:.Vi|deoToolb|
|00001970| 6f 78 2e 68 0d 42 69 6e | 6f 6d 69 61 6c 2e 63 0d |ox.h.Bin|omial.c.|
|00001980| 43 68 69 53 71 75 61 72 | 65 2e 63 0d 4e 6f 72 6d |ChiSquar|e.c.Norm|
|00001990| 61 6c 2e 63 0d 53 65 74 | 46 69 6c 65 49 6e 66 6f |al.c.Set|FileInfo|
|000019a0| 2e 63 09 09 23 20 55 73 | 65 64 20 6f 6e 6c 79 20 |.c..# Us|ed only |
|000019b0| 6f 6e 20 74 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |on the M|acintosh|
|000019c0| 0d 23 46 72 6f 6d 20 4e | 75 6d 65 72 69 63 61 6c |.#From N|umerical|
|000019d0| 20 52 65 63 69 70 65 73 | 20 69 6e 20 43 3a 0d 6e | Recipes| in C:.n|
|000019e0| 72 2e 68 0d 4e 52 55 54 | 49 4c 2e 68 0d 42 52 45 |r.h.NRUT|IL.h.BRE|
|000019f0| 4e 54 2e 43 0d 46 31 44 | 49 4d 2e 43 0d 4c 49 4e |NT.C.F1D|IM.C.LIN|
|00001a00| 4d 49 4e 2e 43 0d 4d 4e | 42 52 41 4b 2e 43 0d 4e |MIN.C.MN|BRAK.C.N|
|00001a10| 52 55 54 49 4c 2e 43 0d | 50 4f 57 45 4c 4c 2e 43 |RUTIL.C.|POWELL.C|
|00001a20| 0d 0d 48 49 53 54 4f 52 | 59 3a 0d 34 2f 37 2f 39 |..HISTOR|Y:.4/7/9|
|00001a30| 30 09 09 64 67 70 09 77 | 72 6f 74 65 20 69 74 2e |0..dgp.w|rote it.|
|00001a40| 0d 34 2f 31 30 2f 39 30 | 09 09 64 67 70 09 63 68 |.4/10/90|..dgp.ch|
|00001a50| 61 6e 67 65 64 20 2e 66 | 69 74 20 66 6f 72 6d 61 |anged .f|it forma|
|00001a60| 74 20 66 72 6f 6d 20 25 | 2e 33 66 20 74 6f 20 25 |t from %|.3f to %|
|00001a70| 2e 34 66 2e 20 41 63 63 | 65 70 74 20 6f 6e 6c 79 |.4f. Acc|ept only|
|00001a80| 20 70 72 69 6e 74 69 6e | 67 20 63 68 61 72 61 63 | printin|g charac|
|00001a90| 74 65 72 73 0d 09 09 09 | 09 69 6e 20 74 68 65 20 |ters....|.in the |
|00001aa0| 63 6f 6e 64 69 74 69 6f | 6e 20 6e 61 6d 65 2c 20 |conditio|n name, |
|00001ab0| 69 67 6e 6f 72 69 6e 67 | 20 65 76 65 72 79 74 68 |ignoring| everyth|
|00001ac0| 69 6e 67 20 61 66 74 65 | 72 20 74 68 65 20 66 69 |ing afte|r the fi|
|00001ad0| 72 73 74 20 6e 6f 6e 2d | 70 72 69 6e 74 69 6e 67 |rst non-|printing|
|00001ae0| 0d 09 09 09 09 63 68 61 | 72 61 63 74 65 72 2e 20 |.....cha|racter. |
|00001af0| 54 68 69 73 20 64 65 61 | 6c 73 20 77 69 74 68 20 |This dea|ls with |
|00001b00| 74 68 65 20 66 61 63 74 | 20 74 68 61 74 20 69 66 |the fact| that if|
|00001b10| 20 61 6e 20 45 78 63 65 | 6c 20 66 69 6c 65 20 69 | an Exce|l file i|
|00001b20| 73 20 75 73 65 64 20 66 | 6f 72 0d 09 09 09 09 69 |s used f|or.....i|
|00001b30| 6e 70 75 74 2c 20 74 68 | 65 72 65 20 61 72 65 20 |nput, th|ere are |
|00001b40| 6c 6f 74 73 20 6f 66 20 | 74 72 61 69 6c 69 6e 67 |lots of |trailing|
|00001b50| 20 74 61 62 73 20 74 68 | 61 74 20 73 68 6f 75 6c | tabs th|at shoul|
|00001b60| 64 20 62 65 20 69 67 6e | 6f 72 65 64 2e 20 43 68 |d be ign|ored. Ch|
|00001b70| 65 63 6b 65 64 0d 09 09 | 09 09 74 68 61 74 20 66 |ecked...|..that f|
|00001b80| 69 6c 65 73 20 77 65 72 | 65 20 61 63 74 75 61 6c |iles wer|e actual|
|00001b90| 6c 79 20 6f 70 65 6e 20 | 62 65 66 6f 72 65 20 63 |ly open |before c|
|00001ba0| 6c 6f 73 69 6e 67 20 27 | 65 6d 2e 20 4a 65 65 73 |losing '|em. Jees|
|00001bb0| 68 21 0d 31 30 2f 32 39 | 2f 39 30 09 64 67 70 09 |h!.10/29|/90.dgp.|
|00001bc0| 74 69 64 69 65 64 20 75 | 70 20 63 6f 6d 6d 65 6e |tidied u|p commen|
|00001bd0| 74 73 2e 0d 31 2f 32 30 | 2f 39 31 09 09 64 67 70 |ts..1/20|/91..dgp|
|00001be0| 09 75 70 64 61 74 65 64 | 20 63 61 6c 6c 73 20 74 |.updated| calls t|
|00001bf0| 6f 20 42 69 6e 6f 6d 69 | 61 6c 55 70 70 65 72 42 |o Binomi|alUpperB|
|00001c00| 6f 75 6e 64 20 26 20 42 | 69 6e 6f 6d 69 61 6c 55 |ound & B|inomialU|
|00001c10| 70 70 65 72 42 6f 75 6e | 64 20 74 6f 0d 09 09 09 |pperBoun|d to....|
|00001c20| 09 63 6f 6e 66 6f 72 6d | 20 74 6f 20 6e 65 77 20 |.conform| to new |
|00001c30| 64 65 66 69 6e 69 74 69 | 6f 6e 2e 0d 38 2f 32 34 |definiti|on..8/24|
|00001c40| 2f 39 31 09 09 64 67 70 | 09 4d 61 64 65 20 63 6f |/91..dgp|.Made co|
|00001c50| 6d 70 61 74 69 62 6c 65 | 20 77 69 74 68 20 54 48 |mpatible| with TH|
|00001c60| 49 4e 4b 20 43 20 35 2e | 30 2e 0d 31 31 2f 31 37 |INK C 5.|0..11/17|
|00001c70| 2f 39 32 09 64 67 70 20 | 4e 6f 77 20 53 65 74 56 |/92.dgp |Now SetV|
|00001c80| 6f 6c 28 29 20 61 66 74 | 65 72 20 63 61 6c 6c 69 |ol() aft|er calli|
|00001c90| 6e 67 20 53 46 47 65 74 | 46 69 6c 65 2c 20 73 6f |ng SFGet|File, so|
|00001ca0| 20 74 68 61 74 20 66 69 | 6c 65 20 63 61 6e 20 62 | that fi|le can b|
|00001cb0| 65 20 69 6e 20 61 6e 79 | 20 66 6f 6c 64 65 72 2c |e in any| folder,|
|00001cc0| 0d 09 09 09 09 6e 6f 74 | 20 6a 75 73 74 20 74 68 |.....not| just th|
|00001cd0| 65 20 73 61 6d 65 20 66 | 6f 6c 64 65 72 20 74 68 |e same f|older th|
|00001ce0| 61 74 20 51 75 69 63 6b | 33 20 69 73 20 69 6e 2e |at Quick|3 is in.|
|00001cf0| 0d 31 2f 31 39 2f 39 33 | 09 09 64 67 70 09 70 75 |.1/19/93|..dgp.pu|
|00001d00| 74 20 23 69 66 73 20 61 | 72 6f 75 6e 64 20 74 68 |t #ifs a|round th|
|00001d10| 65 20 4d 61 63 2d 64 65 | 70 65 6e 64 65 6e 74 20 |e Mac-de|pendent |
|00001d20| 63 6f 64 65 2e 0d 32 2f | 32 30 2f 39 33 09 09 64 |code..2/|20/93..d|
|00001d30| 67 70 09 61 64 64 65 64 | 20 63 61 6c 6c 20 74 6f |gp.added| call to|
|00001d40| 20 52 65 71 75 69 72 65 | 28 29 2e 0d 2a 2f 0d 23 | Require|()..*/.#|
|00001d50| 69 6e 63 6c 75 64 65 20 | 22 56 69 64 65 6f 54 6f |include |"VideoTo|
|00001d60| 6f 6c 62 6f 78 2e 68 22 | 0d 23 69 6e 63 6c 75 64 |olbox.h"|.#includ|
|00001d70| 65 20 22 51 75 69 63 6b | 33 2e 68 22 0d 23 69 6e |e "Quick|3.h".#in|
|00001d80| 63 6c 75 64 65 20 3c 6e | 72 2e 68 3e 09 09 09 09 |clude <n|r.h>....|
|00001d90| 2f 2a 20 4e 75 6d 65 72 | 69 63 61 6c 20 52 65 63 |/* Numer|ical Rec|
|00001da0| 69 70 65 73 20 69 6e 20 | 43 2a 2f 0d 23 69 66 20 |ipes in |C*/.#if |
|00001db0| 4d 41 43 49 4e 54 4f 53 | 48 0d 09 23 69 6e 63 6c |MACINTOS|H..#incl|
|00001dc0| 75 64 65 20 3c 51 75 69 | 63 6b 44 72 61 77 2e 68 |ude <Qui|ckDraw.h|
|00001dd0| 3e 0d 09 23 69 6e 63 6c | 75 64 65 20 3c 53 74 61 |>..#incl|ude <Sta|
|00001de0| 6e 64 61 72 64 46 69 6c | 65 2e 68 3e 0d 23 65 6e |ndardFil|e.h>.#en|
|00001df0| 64 69 66 0d 0d 76 6f 69 | 64 20 6d 61 69 6e 28 76 |dif..voi|d main(v|
|00001e00| 6f 69 64 29 0d 7b 0d 09 | 73 74 61 74 69 63 20 64 |oid).{..|static d|
|00001e10| 61 74 61 52 65 63 6f 72 | 64 20 64 61 74 61 2c 6d |ataRecor|d data,m|
|00001e20| 6f 6e 6f 74 6f 6e 69 63 | 44 61 74 61 3b 0d 09 63 |onotonic|Data;..c|
|00001e30| 6f 6e 74 72 61 73 74 52 | 65 63 6f 72 64 20 2a 63 |ontrastR|ecord *c|
|00001e40| 50 74 72 3b 0d 09 73 74 | 61 74 69 63 20 70 61 72 |Ptr;..st|atic par|
|00001e50| 61 6d 52 65 63 6f 72 64 | 20 70 61 72 61 6d 73 2c |amRecord| params,|
|00001e60| 20 69 6e 69 74 50 61 72 | 61 6d 73 3b 0d 09 64 6f | initPar|ams;..do|
|00001e70| 75 62 6c 65 20 2a 70 61 | 72 61 6d 50 74 72 3d 26 |uble *pa|ramPtr=&|
|00001e80| 70 61 72 61 6d 73 2e 6c | 6f 67 41 6c 70 68 61 3b |params.l|ogAlpha;|
|00001e90| 09 2f 2a 20 61 20 67 65 | 6e 65 72 69 63 20 77 61 |./* a ge|neric wa|
|00001ea0| 79 20 6f 66 20 61 63 63 | 65 73 73 69 6e 67 20 74 |y of acc|essing t|
|00001eb0| 68 65 20 70 61 72 61 6d | 65 74 65 72 73 20 2a 2f |he param|eters */|
|00001ec0| 0d 09 69 6e 74 20 69 3b | 0d 09 64 6f 75 62 6c 65 |..int i;|..double|
|00001ed0| 20 63 68 69 53 71 75 61 | 72 65 2c 6d 6f 64 65 6c | chiSqua|re,model|
|00001ee0| 4c 4c 2c 6d 6f 6e 6f 74 | 6f 6e 69 63 4c 4c 3b 09 |LL,monot|onicLL;.|
|00001ef0| 2f 2a 20 6c 6f 67 20 6c | 69 6b 65 6c 69 68 6f 6f |/* log l|ikelihoo|
|00001f00| 64 20 2a 2f 0d 09 69 6e | 74 20 63 68 69 53 71 75 |d */..in|t chiSqu|
|00001f10| 61 72 65 44 46 2c 6d 6f | 64 65 6c 44 46 2c 6d 6f |areDF,mo|delDF,mo|
|00001f20| 6e 6f 74 6f 6e 69 63 44 | 46 3b 09 2f 2a 20 64 65 |notonicD|F;./* de|
|00001f30| 67 72 65 65 73 20 6f 66 | 20 66 72 65 65 64 6f 6d |grees of| freedom|
|00001f40| 20 2a 2f 0d 09 64 6f 75 | 62 6c 65 20 73 69 67 6e | */..dou|ble sign|
|00001f50| 69 66 69 63 61 6e 63 65 | 3b 0d 09 46 49 4c 45 20 |ificance|;..FILE |
|00001f60| 2a 64 61 74 61 46 69 6c | 65 3d 4e 55 4c 4c 2c 2a |*dataFil|e=NULL,*|
|00001f70| 66 69 74 46 69 6c 65 3d | 4e 55 4c 4c 2c 2a 70 6c |fitFile=|NULL,*pl|
|00001f80| 6f 74 46 69 6c 65 3d 4e | 55 4c 4c 3b 0d 09 73 74 |otFile=N|ULL;..st|
|00001f90| 61 74 69 63 20 63 68 61 | 72 20 64 61 74 61 46 69 |atic cha|r dataFi|
|00001fa0| 6c 65 4e 61 6d 65 5b 35 | 30 5d 2c 66 69 74 46 69 |leName[5|0],fitFi|
|00001fb0| 6c 65 4e 61 6d 65 5b 35 | 30 5d 2c 70 6c 6f 74 46 |leName[5|0],plotF|
|00001fc0| 69 6c 65 4e 61 6d 65 5b | 35 30 5d 2c 73 74 72 69 |ileName[|50],stri|
|00001fd0| 6e 67 5b 31 30 30 5d 3b | 0d 09 73 74 61 74 69 63 |ng[100];|..static|
|00001fe0| 20 63 68 61 72 20 63 6f | 6e 64 69 74 69 6f 6e 4e | char co|nditionN|
|00001ff0| 61 6d 65 5b 35 30 5d 3b | 0d 09 6c 6f 6e 67 20 74 |ame[50];|..long t|
|00002000| 72 69 61 6c 73 3b 0d 09 | 75 6e 73 69 67 6e 65 64 |rials;..|unsigned|
|00002010| 20 69 6e 74 20 61 3b 0d | 09 50 73 79 63 68 6f 6d | int a;.|.Psychom|
|00002020| 65 74 72 69 63 46 75 6e | 63 74 69 6f 6e 50 74 72 |etricFun|ctionPtr|
|00002030| 20 4d 6f 64 65 6c 46 75 | 6e 63 74 69 6f 6e 3d 26 | ModelFu|nction=&|
|00002040| 57 65 69 62 75 6c 6c 3b | 09 2f 2a 20 61 20 70 73 |Weibull;|./* a ps|
|00002050| 79 63 68 6f 6d 65 74 72 | 69 63 20 66 75 6e 63 74 |ychometr|ic funct|
|00002060| 69 6f 6e 20 2a 2f 0d 09 | 73 74 61 74 69 63 20 63 |ion */..|static c|
|00002070| 6f 6e 73 74 20 63 68 61 | 72 20 6d 6f 64 65 6c 4e |onst cha|r modelN|
|00002080| 61 6d 65 5b 5d 3d 22 57 | 65 69 62 75 6c 6c 22 3b |ame[]="W|eibull";|
|00002090| 0d 09 73 74 61 74 69 63 | 20 63 6f 6e 73 74 20 63 |..static| const c|
|000020a0| 68 61 72 20 70 61 72 61 | 6d 4e 61 6d 65 5b 50 41 |har para|mName[PA|
|000020b0| 52 41 4d 53 5d 5b 31 36 | 5d 3d 7b 22 6c 6f 67 41 |RAMS][16|]={"logA|
|000020c0| 6c 70 68 61 22 2c 22 62 | 65 74 61 22 2c 22 67 61 |lpha","b|eta","ga|
|000020d0| 6d 6d 61 22 2c 22 64 65 | 6c 74 61 22 7d 3b 0d 09 |mma","de|lta"};..|
|000020e0| 23 69 66 20 4d 41 43 49 | 4e 54 4f 53 48 0d 09 09 |#if MACI|NTOSH...|
|000020f0| 50 6f 69 6e 74 20 77 68 | 65 72 65 3b 0d 09 09 73 |Point wh|ere;...s|
|00002100| 74 61 74 69 63 20 53 46 | 54 79 70 65 4c 69 73 74 |tatic SF|TypeList|
|00002110| 20 74 79 70 65 4c 69 73 | 74 3b 0d 09 09 73 74 61 | typeLis|t;...sta|
|00002120| 74 69 63 20 53 46 52 65 | 70 6c 79 20 72 65 70 6c |tic SFRe|ply repl|
|00002130| 79 3b 0d 09 23 65 6e 64 | 69 66 0d 0d 09 2f 2a 20 |y;..#end|if.../* |
|00002140| 69 6e 69 74 69 61 6c 20 | 76 61 6c 75 65 73 20 66 |initial |values f|
|00002150| 6f 72 20 74 68 65 20 70 | 61 72 61 6d 65 74 65 72 |or the p|arameter|
|00002160| 73 20 6f 66 20 74 68 65 | 20 70 73 79 63 68 6f 6d |s of the| psychom|
|00002170| 65 74 72 69 63 20 66 75 | 6e 63 74 69 6f 6e 20 2a |etric fu|nction *|
|00002180| 2f 0d 09 70 61 72 61 6d | 73 2e 6c 6f 67 41 6c 70 |/..param|s.logAlp|
|00002190| 68 61 3d 30 2e 30 3b 0d | 09 70 61 72 61 6d 73 2e |ha=0.0;.|.params.|
|000021a0| 62 65 74 61 3d 33 2e 35 | 3b 0d 09 70 61 72 61 6d |beta=3.5|;..param|
|000021b0| 73 2e 67 61 6d 6d 61 3d | 30 2e 35 3b 0d 09 70 61 |s.gamma=|0.5;..pa|
|000021c0| 72 61 6d 73 2e 64 65 6c | 74 61 3d 30 2e 30 31 3b |rams.del|ta=0.01;|
|000021d0| 0d 09 70 72 69 6e 74 66 | 28 22 5c 6e 22 29 3b 09 |..printf|("\n");.|
|000021e0| 2f 2a 20 61 73 6b 20 54 | 48 49 4e 4b 20 43 20 74 |/* ask T|HINK C t|
|000021f0| 6f 20 69 6e 69 74 20 51 | 75 69 63 6b 44 72 61 77 |o init Q|uickDraw|
|00002200| 20 2a 2f 0d 09 0d 09 23 | 69 66 20 4d 41 43 49 4e | */....#|if MACIN|
|00002210| 54 4f 53 48 0d 09 09 52 | 65 71 75 69 72 65 28 30 |TOSH...R|equire(0|
|00002220| 29 3b 0d 09 09 77 68 65 | 72 65 2e 68 3d 31 30 30 |);...whe|re.h=100|
|00002230| 3b 0d 09 09 77 68 65 72 | 65 2e 76 3d 31 30 30 3b |;...wher|e.v=100;|
|00002240| 0d 09 09 74 79 70 65 4c | 69 73 74 5b 30 5d 3d 27 |...typeL|ist[0]='|
|00002250| 54 45 58 54 27 3b 0d 09 | 09 72 65 70 6c 79 2e 76 |TEXT';..|.reply.v|
|00002260| 65 72 73 69 6f 6e 3d 30 | 3b 0d 09 09 53 46 47 65 |ersion=0|;...SFGe|
|00002270| 74 46 69 6c 65 28 77 68 | 65 72 65 2c 22 5c 70 22 |tFile(wh|ere,"\p"|
|00002280| 2c 4e 55 4c 4c 2c 31 2c | 74 79 70 65 4c 69 73 74 |,NULL,1,|typeList|
|00002290| 2c 4e 55 4c 4c 2c 26 72 | 65 70 6c 79 29 3b 0d 09 |,NULL,&r|eply);..|
|000022a0| 09 69 66 28 21 72 65 70 | 6c 79 2e 67 6f 6f 64 29 |.if(!rep|ly.good)|
|000022b0| 50 72 69 6e 74 66 45 78 | 69 74 28 22 43 6f 75 6c |PrintfEx|it("Coul|
|000022c0| 64 6e 27 74 20 6f 70 65 | 6e 20 66 69 6c 65 2e 5c |dn't ope|n file.\|
|000022d0| 6e 22 29 3b 0d 09 09 53 | 65 74 56 6f 6c 28 4e 55 |n");...S|etVol(NU|
|000022e0| 4c 4c 2c 72 65 70 6c 79 | 2e 76 52 65 66 4e 75 6d |LL,reply|.vRefNum|
|000022f0| 29 3b 09 2f 2a 20 6c 6f | 6f 6b 20 69 6e 20 74 68 |);./* lo|ok in th|
|00002300| 61 74 20 66 6f 6c 64 65 | 72 20 2a 2f 0d 09 09 73 |at folde|r */...s|
|00002310| 70 72 69 6e 74 66 28 64 | 61 74 61 46 69 6c 65 4e |printf(d|ataFileN|
|00002320| 61 6d 65 2c 22 25 23 73 | 22 2c 72 65 70 6c 79 2e |ame,"%#s|",reply.|
|00002330| 66 4e 61 6d 65 29 3b 0d | 09 23 65 6c 73 65 0d 09 |fName);.|.#else..|
|00002340| 09 2f 2f 20 49 6e 73 65 | 72 74 20 63 6f 64 65 20 |.// Inse|rt code |
|00002350| 68 65 72 65 20 74 6f 20 | 67 65 74 20 64 61 74 61 |here to |get data|
|00002360| 20 66 69 6c 65 20 6e 61 | 6d 65 20 69 6e 74 6f 20 | file na|me into |
|00002370| 64 61 74 61 46 69 6c 65 | 4e 61 6d 65 2e 0d 09 23 |dataFile|Name...#|
|00002380| 65 6e 64 69 66 0d 09 64 | 61 74 61 46 69 6c 65 3d |endif..d|ataFile=|
|00002390| 66 6f 70 65 6e 28 64 61 | 74 61 46 69 6c 65 4e 61 |fopen(da|taFileNa|
|000023a0| 6d 65 2c 22 72 22 29 3b | 0d 09 69 66 28 64 61 74 |me,"r");|..if(dat|
|000023b0| 61 46 69 6c 65 3d 3d 4e | 55 4c 4c 29 20 7b 0d 09 |aFile==N|ULL) {..|
|000023c0| 09 50 72 69 6e 74 66 45 | 78 69 74 28 22 5c 30 30 |.PrintfE|xit("\00|
|000023d0| 37 53 6f 72 72 79 2c 20 | 63 61 6e 27 74 20 66 69 |7Sorry, |can't fi|
|000023e0| 6e 64 20 66 69 6c 65 20 | 5c 22 25 73 5c 22 2e 5c |nd file |\"%s\".\|
|000023f0| 30 30 37 5c 6e 22 2c 64 | 61 74 61 46 69 6c 65 4e |007\n",d|ataFileN|
|00002400| 61 6d 65 29 3b 0d 09 7d | 0d 09 70 72 69 6e 74 66 |ame);..}|..printf|
|00002410| 28 22 52 65 61 64 69 6e | 67 20 5c 22 25 73 5c 22 |("Readin|g \"%s\"|
|00002420| 5c 6e 22 2c 64 61 74 61 | 46 69 6c 65 4e 61 6d 65 |\n",data|FileName|
|00002430| 29 3b 0d 09 73 74 72 63 | 70 79 28 73 74 72 69 6e |);..strc|py(strin|
|00002440| 67 2c 64 61 74 61 46 69 | 6c 65 4e 61 6d 65 29 3b |g,dataFi|leName);|
|00002450| 0d 09 69 66 28 73 74 72 | 73 74 72 28 73 74 72 69 |..if(str|str(stri|
|00002460| 6e 67 2c 22 2e 64 61 74 | 61 22 29 29 73 74 72 63 |ng,".dat|a"))strc|
|00002470| 70 79 28 73 74 72 73 74 | 72 28 73 74 72 69 6e 67 |py(strst|r(string|
|00002480| 2c 22 2e 64 61 74 61 22 | 29 2c 22 22 29 3b 0d 09 |,".data"|),"");..|
|00002490| 65 6c 73 65 20 69 66 28 | 73 74 72 73 74 72 28 73 |else if(|strstr(s|
|000024a0| 74 72 69 6e 67 2c 22 2e | 79 65 73 22 29 29 73 74 |tring,".|yes"))st|
|000024b0| 72 63 70 79 28 73 74 72 | 73 74 72 28 73 74 72 69 |rcpy(str|str(stri|
|000024c0| 6e 67 2c 22 2e 79 65 73 | 22 29 2c 22 22 29 3b 0d |ng,".yes|"),"");.|
|000024d0| 09 69 66 28 73 74 72 6c | 65 6e 28 73 74 72 69 6e |.if(strl|en(strin|
|000024e0| 67 29 3e 30 29 7b 0d 09 | 09 73 70 72 69 6e 74 66 |g)>0){..|.sprintf|
|000024f0| 28 66 69 74 46 69 6c 65 | 4e 61 6d 65 2c 22 25 73 |(fitFile|Name,"%s|
|00002500| 2e 66 69 74 22 2c 73 74 | 72 69 6e 67 29 3b 0d 09 |.fit",st|ring);..|
|00002510| 09 70 72 69 6e 74 66 28 | 22 43 72 65 61 74 69 6e |.printf(|"Creatin|
|00002520| 67 20 6f 75 74 70 75 74 | 20 66 69 6c 65 73 3a 5c |g output| files:\|
|00002530| 6e 25 73 5c 6e 25 73 2e | 3c 63 6f 6e 64 69 74 69 |n%s\n%s.|<conditi|
|00002540| 6f 6e 20 6e 61 6d 65 3e | 2e 70 6c 6f 74 5c 6e 22 |on name>|.plot\n"|
|00002550| 2c 66 69 74 46 69 6c 65 | 4e 61 6d 65 2c 73 74 72 |,fitFile|Name,str|
|00002560| 69 6e 67 29 3b 0d 09 09 | 66 69 74 46 69 6c 65 3d |ing);...|fitFile=|
|00002570| 66 6f 70 65 6e 28 66 69 | 74 46 69 6c 65 4e 61 6d |fopen(fi|tFileNam|
|00002580| 65 2c 22 77 22 29 3b 0d | 09 09 69 66 28 66 69 74 |e,"w");.|..if(fit|
|00002590| 46 69 6c 65 3d 3d 4e 55 | 4c 4c 29 50 72 69 6e 74 |File==NU|LL)Print|
|000025a0| 66 45 78 69 74 28 22 53 | 6f 72 72 79 2c 20 49 20 |fExit("S|orry, I |
|000025b0| 63 61 6e 27 74 20 63 72 | 65 61 74 65 20 66 69 6c |can't cr|eate fil|
|000025c0| 65 20 5c 22 25 73 5c 22 | 2e 5c 30 30 37 5c 6e 22 |e \"%s\"|.\007\n"|
|000025d0| 2c 66 69 74 46 69 6c 65 | 4e 61 6d 65 29 3b 0d 09 |,fitFile|Name);..|
|000025e0| 09 23 69 66 20 4d 41 43 | 49 4e 54 4f 53 48 0d 09 |.#if MAC|INTOSH..|
|000025f0| 09 09 53 65 74 46 69 6c | 65 49 6e 66 6f 28 66 69 |..SetFil|eInfo(fi|
|00002600| 74 46 69 6c 65 4e 61 6d | 65 2c 27 54 45 58 54 27 |tFileNam|e,'TEXT'|
|00002610| 2c 27 58 43 45 4c 27 29 | 3b 09 09 2f 2a 20 45 78 |,'XCEL')|;../* Ex|
|00002620| 63 65 6c 20 66 69 6c 65 | 20 2a 2f 0d 09 09 23 65 |cel file| */...#e|
|00002630| 6e 64 69 66 0d 09 7d 0d | 09 6d 6f 64 65 6c 44 46 |ndif..}.|.modelDF|
|00002640| 3d 50 41 52 41 4d 53 3b | 09 2f 2a 20 6e 75 6d 62 |=PARAMS;|./* numb|
|00002650| 65 72 20 6f 66 20 70 61 | 72 61 6d 65 74 65 72 73 |er of pa|rameters|
|00002660| 20 74 6f 20 62 65 20 61 | 64 6a 75 73 74 65 64 20 | to be a|djusted |
|00002670| 69 6e 20 66 69 74 74 69 | 6e 67 20 2a 2f 0d 09 70 |in fitti|ng */..p|
|00002680| 72 69 6e 74 66 28 22 48 | 6f 77 20 6d 61 6e 79 20 |rintf("H|ow many |
|00002690| 70 61 72 61 6d 65 74 65 | 72 73 20 73 68 61 6c 6c |paramete|rs shall|
|000026a0| 20 62 65 20 61 64 6a 75 | 73 74 61 62 6c 65 3f 20 | be adju|stable? |
|000026b0| 30 20 74 6f 20 25 64 20 | 28 25 64 29 3a 22 2c 50 |0 to %d |(%d):",P|
|000026c0| 41 52 41 4d 53 2c 6d 6f | 64 65 6c 44 46 29 3b 0d |ARAMS,mo|delDF);.|
|000026d0| 09 67 65 74 73 28 73 74 | 72 69 6e 67 29 3b 0d 09 |.gets(st|ring);..|
|000026e0| 73 73 63 61 6e 66 28 73 | 74 72 69 6e 67 2c 22 25 |sscanf(s|tring,"%|
|000026f0| 64 22 2c 26 6d 6f 64 65 | 6c 44 46 29 3b 0d 09 66 |d",&mode|lDF);..f|
|00002700| 6f 72 28 69 3d 31 3b 69 | 3c 6d 6f 64 65 6c 44 46 |or(i=1;i|<modelDF|
|00002710| 3b 69 2b 2b 29 7b 0d 09 | 09 70 72 69 6e 74 66 28 |;i++){..|.printf(|
|00002720| 22 49 6e 69 74 69 61 6c | 20 76 61 6c 75 65 20 66 |"Initial| value f|
|00002730| 6f 72 20 25 73 3f 20 28 | 25 2e 32 66 29 3a 22 2c |or %s? (|%.2f):",|
|00002740| 70 61 72 61 6d 4e 61 6d | 65 5b 69 5d 2c 70 61 72 |paramNam|e[i],par|
|00002750| 61 6d 50 74 72 5b 69 5d | 29 3b 0d 09 09 67 65 74 |amPtr[i]|);...get|
|00002760| 73 28 73 74 72 69 6e 67 | 29 3b 0d 09 09 73 73 63 |s(string|);...ssc|
|00002770| 61 6e 66 28 73 74 72 69 | 6e 67 2c 22 25 6c 66 22 |anf(stri|ng,"%lf"|
|00002780| 2c 26 70 61 72 61 6d 50 | 74 72 5b 69 5d 29 3b 0d |,¶mP|tr[i]);.|
|00002790| 09 7d 0d 09 66 6f 72 28 | 69 3d 6d 6f 64 65 6c 44 |.}..for(|i=modelD|
|000027a0| 46 3b 69 3c 50 41 52 41 | 4d 53 3b 69 2b 2b 29 7b |F;i<PARA|MS;i++){|
|000027b0| 0d 09 09 70 72 69 6e 74 | 66 28 22 46 69 78 65 64 |...print|f("Fixed|
|000027c0| 20 76 61 6c 75 65 20 66 | 6f 72 20 25 73 3f 20 28 | value f|or %s? (|
|000027d0| 25 2e 32 66 29 3a 22 2c | 70 61 72 61 6d 4e 61 6d |%.2f):",|paramNam|
|000027e0| 65 5b 69 5d 2c 70 61 72 | 61 6d 50 74 72 5b 69 5d |e[i],par|amPtr[i]|
|000027f0| 29 3b 0d 09 09 67 65 74 | 73 28 73 74 72 69 6e 67 |);...get|s(string|
|00002800| 29 3b 0d 09 09 73 73 63 | 61 6e 66 28 73 74 72 69 |);...ssc|anf(stri|
|00002810| 6e 67 2c 22 25 6c 66 22 | 2c 26 70 61 72 61 6d 50 |ng,"%lf"|,¶mP|
|00002820| 74 72 5b 69 5d 29 3b 0d | 09 7d 0d 09 69 6e 69 74 |tr[i]);.|.}..init|
|00002830| 50 61 72 61 6d 73 3d 70 | 61 72 61 6d 73 3b 0d 09 |Params=p|arams;..|
|00002840| 0d 09 70 72 69 6e 74 66 | 28 22 52 65 61 64 69 6e |..printf|("Readin|
|00002850| 67 20 25 73 5c 6e 22 2c | 64 61 74 61 46 69 6c 65 |g %s\n",|dataFile|
|00002860| 4e 61 6d 65 29 3b 0d 09 | 69 66 28 66 69 74 46 69 |Name);..|if(fitFi|
|00002870| 6c 65 29 66 70 72 69 6e | 74 66 28 66 69 74 46 69 |le)fprin|tf(fitFi|
|00002880| 6c 65 2c 22 43 6f 6e 64 | 69 74 69 6f 6e 5c 74 22 |le,"Cond|ition\t"|
|00002890| 0d 09 09 22 25 73 5c 74 | 25 73 5c 74 25 73 5c 74 |..."%s\t|%s\t%s\t|
|000028a0| 25 73 5c 74 66 72 65 65 | 20 70 61 72 61 6d 73 22 |%s\tfree| params"|
|000028b0| 0d 09 09 22 5c 74 73 69 | 67 6e 69 66 2e 5c 74 43 |..."\tsi|gnif.\tC|
|000028c0| 68 69 20 73 71 2e 5c 74 | 64 2e 66 2e 5c 74 74 72 |hi sq.\t|d.f.\ttr|
|000028d0| 69 61 6c 73 5c 74 63 6f | 6e 74 72 61 73 74 73 5c |ials\tco|ntrasts\|
|000028e0| 6e 22 2c 0d 09 09 70 61 | 72 61 6d 4e 61 6d 65 5b |n",...pa|ramName[|
|000028f0| 30 5d 2c 70 61 72 61 6d | 4e 61 6d 65 5b 31 5d 2c |0],param|Name[1],|
|00002900| 70 61 72 61 6d 4e 61 6d | 65 5b 32 5d 2c 70 61 72 |paramNam|e[2],par|
|00002910| 61 6d 4e 61 6d 65 5b 33 | 5d 29 3b 0d 09 77 68 69 |amName[3|]);..whi|
|00002920| 6c 65 28 21 66 65 6f 66 | 28 64 61 74 61 46 69 6c |le(!feof|(dataFil|
|00002930| 65 29 29 7b 0d 09 09 4d | 79 46 67 65 74 73 28 73 |e)){...M|yFgets(s|
|00002940| 74 72 69 6e 67 2c 73 69 | 7a 65 6f 66 28 73 74 72 |tring,si|zeof(str|
|00002950| 69 6e 67 29 2c 64 61 74 | 61 46 69 6c 65 29 3b 0d |ing),dat|aFile);.|
|00002960| 09 09 70 72 69 6e 74 66 | 28 22 5c 6e 22 29 3b 0d |..printf|("\n");.|
|00002970| 09 09 77 68 69 6c 65 20 | 28 61 3d 66 67 65 74 63 |..while |(a=fgetc|
|00002980| 28 64 61 74 61 46 69 6c | 65 29 2c 75 6e 67 65 74 |(dataFil|e),unget|
|00002990| 63 28 61 2c 64 61 74 61 | 46 69 6c 65 29 2c 61 3d |c(a,data|File),a=|
|000029a0| 3d 27 23 27 20 7c 7c 20 | 61 3d 3d 45 4f 46 29 7b |='#' || |a==EOF){|
|000029b0| 0d 09 09 09 70 72 69 6e | 74 66 28 22 25 73 5c 6e |....prin|tf("%s\n|
|000029c0| 22 2c 73 74 72 69 6e 67 | 29 3b 09 09 09 09 09 09 |",string|);......|
|000029d0| 09 09 2f 2a 20 65 63 68 | 6f 20 63 6f 6d 6d 65 6e |../* ech|o commen|
|000029e0| 74 20 2a 2f 0d 09 09 09 | 69 66 28 66 69 74 46 69 |t */....|if(fitFi|
|000029f0| 6c 65 29 66 70 72 69 6e | 74 66 28 66 69 74 46 69 |le)fprin|tf(fitFi|
|00002a00| 6c 65 2c 22 25 73 5c 6e | 22 2c 73 74 72 69 6e 67 |le,"%s\n|",string|
|00002a10| 29 3b 0d 09 09 09 4d 79 | 46 67 65 74 73 28 73 74 |);....My|Fgets(st|
|00002a20| 72 69 6e 67 2c 73 69 7a | 65 6f 66 28 73 74 72 69 |ring,siz|eof(stri|
|00002a30| 6e 67 29 2c 64 61 74 61 | 46 69 6c 65 29 3b 0d 09 |ng),data|File);..|
|00002a40| 09 09 69 66 28 66 65 6f | 66 28 64 61 74 61 46 69 |..if(feo|f(dataFi|
|00002a50| 6c 65 29 29 62 72 65 61 | 6b 3b 0d 09 09 7d 0d 09 |le))brea|k;...}..|
|00002a60| 09 2f 2a 20 67 65 74 20 | 63 6f 6e 64 69 74 69 6f |./* get |conditio|
|00002a70| 6e 20 6e 61 6d 65 2e 20 | 53 74 72 69 70 20 6c 65 |n name. |Strip le|
|00002a80| 61 64 69 6e 67 20 23 20 | 61 6e 64 20 74 72 61 69 |ading # |and trai|
|00002a90| 6c 69 6e 67 20 6e 6f 6e | 70 72 69 6e 74 69 6e 67 |ling non|printing|
|00002aa0| 20 6a 75 6e 6b 20 2a 2f | 0d 09 09 73 74 72 63 70 | junk */|...strcp|
|00002ab0| 79 28 63 6f 6e 64 69 74 | 69 6f 6e 4e 61 6d 65 2c |y(condit|ionName,|
|00002ac0| 26 73 74 72 69 6e 67 5b | 31 5d 29 3b 0d 09 09 66 |&string[|1]);...f|
|00002ad0| 6f 72 28 69 3d 30 3b 69 | 3c 73 74 72 6c 65 6e 28 |or(i=0;i|<strlen(|
|00002ae0| 63 6f 6e 64 69 74 69 6f | 6e 4e 61 6d 65 29 3b 69 |conditio|nName);i|
|00002af0| 2b 2b 29 7b 0d 09 09 09 | 69 66 28 21 69 73 70 72 |++){....|if(!ispr|
|00002b00| 69 6e 74 28 63 6f 6e 64 | 69 74 69 6f 6e 4e 61 6d |int(cond|itionNam|
|00002b10| 65 5b 69 5d 29 29 63 6f | 6e 64 69 74 69 6f 6e 4e |e[i]))co|nditionN|
|00002b20| 61 6d 65 5b 69 5d 3d 30 | 3b 0d 09 09 7d 0d 09 09 |ame[i]=0|;...}...|
|00002b30| 70 72 69 6e 74 66 28 22 | 5c 6e 22 29 3b 0d 09 09 |printf("|\n");...|
|00002b40| 64 61 74 61 2e 63 6f 6e | 74 72 61 73 74 73 3d 69 |data.con|trasts=i|
|00002b50| 3d 30 3b 0d 09 09 77 68 | 69 6c 65 28 61 3d 66 67 |=0;...wh|ile(a=fg|
|00002b60| 65 74 63 28 64 61 74 61 | 46 69 6c 65 29 2c 75 6e |etc(data|File),un|
|00002b70| 67 65 74 63 28 61 2c 64 | 61 74 61 46 69 6c 65 29 |getc(a,d|ataFile)|
|00002b80| 2c 61 21 3d 27 23 27 20 | 26 26 20 61 21 3d 45 4f |,a!='#' |&& a!=EO|
|00002b90| 46 29 7b 09 2f 2a 20 72 | 65 61 64 20 64 61 74 61 |F){./* r|ead data|
|00002ba0| 20 2a 2f 0d 09 09 09 69 | 66 28 69 3d 3d 4d 41 58 | */....i|f(i==MAX|
|00002bb0| 5f 43 4f 4e 54 52 41 53 | 54 53 29 7b 0d 09 09 09 |_CONTRAS|TS){....|
|00002bc0| 09 53 6f 72 74 41 6e 64 | 4d 65 72 67 65 43 6f 6e |.SortAnd|MergeCon|
|00002bd0| 74 72 61 73 74 73 28 26 | 64 61 74 61 29 3b 0d 09 |trasts(&|data);..|
|00002be0| 09 09 09 69 66 28 69 3c | 4d 41 58 5f 43 4f 4e 54 |...if(i<|MAX_CONT|
|00002bf0| 52 41 53 54 53 29 62 72 | 65 61 6b 3b 0d 09 09 09 |RASTS)br|eak;....|
|00002c00| 09 50 72 69 6e 74 66 45 | 78 69 74 28 22 51 75 69 |.PrintfE|xit("Qui|
|00002c10| 63 6b 33 3a 20 53 6f 72 | 72 79 2c 20 74 6f 6f 20 |ck3: Sor|ry, too |
|00002c20| 6d 61 6e 79 20 64 69 66 | 66 65 72 65 6e 74 20 63 |many dif|ferent c|
|00002c30| 6f 6e 74 72 61 73 74 73 | 2e 20 3e 4d 41 58 5f 43 |ontrasts|. >MAX_C|
|00002c40| 4f 4e 54 52 41 53 54 53 | 3d 3d 25 64 5c 30 30 37 |ONTRASTS|==%d\007|
|00002c50| 5c 6e 22 2c 0d 09 09 09 | 09 09 4d 41 58 5f 43 4f |\n",....|..MAX_CO|
|00002c60| 4e 54 52 41 53 54 53 29 | 3b 0d 09 09 09 7d 0d 09 |NTRASTS)|;....}..|
|00002c70| 09 09 4d 79 46 67 65 74 | 73 28 73 74 72 69 6e 67 |..MyFget|s(string|
|00002c80| 2c 73 69 7a 65 6f 66 28 | 73 74 72 69 6e 67 29 2c |,sizeof(|string),|
|00002c90| 64 61 74 61 46 69 6c 65 | 29 3b 0d 09 09 09 73 73 |dataFile|);....ss|
|00002ca0| 63 61 6e 66 28 73 74 72 | 69 6e 67 2c 22 25 6c 66 |canf(str|ing,"%lf|
|00002cb0| 5c 74 25 6c 64 5c 74 25 | 6c 64 22 2c 0d 09 09 09 |\t%ld\t%|ld",....|
|00002cc0| 09 26 64 61 74 61 2e 63 | 5b 69 5d 2e 63 6f 6e 74 |.&data.c|[i].cont|
|00002cd0| 72 61 73 74 2c 26 64 61 | 74 61 2e 63 5b 69 5d 2e |rast,&da|ta.c[i].|
|00002ce0| 74 72 69 61 6c 73 2c 26 | 64 61 74 61 2e 63 5b 69 |trials,&|data.c[i|
|00002cf0| 5d 2e 63 6f 72 72 65 63 | 74 29 3b 0d 09 09 09 69 |].correc|t);....i|
|00002d00| 2b 2b 3b 0d 09 09 09 64 | 61 74 61 2e 63 6f 6e 74 |++;....d|ata.cont|
|00002d10| 72 61 73 74 73 3d 69 3b | 0d 09 09 7d 0d 09 09 69 |rasts=i;|...}...i|
|00002d20| 66 28 64 61 74 61 2e 63 | 6f 6e 74 72 61 73 74 73 |f(data.c|ontrasts|
|00002d30| 3d 3d 30 29 62 72 65 61 | 6b 3b 0d 09 09 53 6f 72 |==0)brea|k;...Sor|
|00002d40| 74 41 6e 64 4d 65 72 67 | 65 43 6f 6e 74 72 61 73 |tAndMerg|eContras|
|00002d50| 74 73 28 26 64 61 74 61 | 29 3b 0d 09 09 74 72 69 |ts(&data|);...tri|
|00002d60| 61 6c 73 3d 30 3b 0d 09 | 09 66 6f 72 28 69 3d 30 |als=0;..|.for(i=0|
|00002d70| 3b 69 3c 64 61 74 61 2e | 63 6f 6e 74 72 61 73 74 |;i<data.|contrast|
|00002d80| 73 3b 69 2b 2b 29 74 72 | 69 61 6c 73 2b 3d 64 61 |s;i++)tr|ials+=da|
|00002d90| 74 61 2e 63 5b 69 5d 2e | 74 72 69 61 6c 73 3b 09 |ta.c[i].|trials;.|
|00002da0| 2f 2a 20 74 6f 74 61 6c | 20 74 72 69 61 6c 73 20 |/* total| trials |
|00002db0| 2a 2f 0d 09 09 70 61 72 | 61 6d 73 3d 69 6e 69 74 |*/...par|ams=init|
|00002dc0| 50 61 72 61 6d 73 3b 09 | 2f 2a 20 69 6e 69 74 69 |Params;.|/* initi|
|00002dd0| 61 6c 20 67 75 65 73 73 | 20 26 20 66 69 78 65 64 |al guess| & fixed|
|00002de0| 20 76 61 6c 75 65 73 20 | 2a 2f 0d 09 09 69 66 28 | values |*/...if(|
|00002df0| 6d 6f 64 65 6c 44 46 3e | 30 29 0d 09 09 09 70 61 |modelDF>|0)....pa|
|00002e00| 72 61 6d 73 2e 6c 6f 67 | 41 6c 70 68 61 3d 6c 6f |rams.log|Alpha=lo|
|00002e10| 67 28 64 61 74 61 2e 63 | 5b 64 61 74 61 2e 63 6f |g(data.c|[data.co|
|00002e20| 6e 74 72 61 73 74 73 2f | 32 5d 2e 63 6f 6e 74 72 |ntrasts/|2].contr|
|00002e30| 61 73 74 29 2f 6c 6f 67 | 28 31 30 2e 30 29 3b 09 |ast)/log|(10.0);.|
|00002e40| 2f 2a 20 6d 65 64 69 61 | 6e 20 63 6f 6e 74 72 61 |/* media|n contra|
|00002e50| 73 74 20 2a 2f 0d 09 09 | 70 72 69 6e 74 66 28 22 |st */...|printf("|
|00002e60| 25 73 5c 6e 22 2c 63 6f | 6e 64 69 74 69 6f 6e 4e |%s\n",co|nditionN|
|00002e70| 61 6d 65 29 3b 0d 09 09 | 70 72 69 6e 74 66 28 22 |ame);...|printf("|
|00002e80| 5c 74 25 73 20 20 20 25 | 73 20 20 20 25 73 20 20 |\t%s %|s %s |
|00002e90| 20 25 73 20 20 63 6f 6e | 74 72 61 73 74 73 20 74 | %s con|trasts t|
|00002ea0| 72 69 61 6c 73 20 73 69 | 67 6e 69 66 2e 20 43 68 |rials si|gnif. Ch|
|00002eb0| 69 20 73 71 2e 20 20 20 | 64 2e 66 2e 5c 6e 22 2c |i sq. |d.f.\n",|
|00002ec0| 0d 09 09 09 70 61 72 61 | 6d 4e 61 6d 65 5b 30 5d |....para|mName[0]|
|00002ed0| 2c 70 61 72 61 6d 4e 61 | 6d 65 5b 31 5d 2c 70 61 |,paramNa|me[1],pa|
|00002ee0| 72 61 6d 4e 61 6d 65 5b | 32 5d 2c 70 61 72 61 6d |ramName[|2],param|
|00002ef0| 4e 61 6d 65 5b 33 5d 29 | 3b 0d 09 09 70 72 69 6e |Name[3])|;...prin|
|00002f00| 74 66 28 22 47 75 65 73 | 73 3a 22 29 3b 0d 09 09 |tf("Gues|s:");...|
|00002f10| 70 72 69 6e 74 66 28 22 | 5c 74 25 37 2e 32 66 25 |printf("|\t%7.2f%|
|00002f20| 38 2e 31 66 25 38 2e 32 | 66 25 38 2e 32 66 5c 6e |8.1f%8.2|f%8.2f\n|
|00002f30| 22 2c 0d 09 09 09 70 61 | 72 61 6d 50 74 72 5b 30 |",....pa|ramPtr[0|
|00002f40| 5d 2c 70 61 72 61 6d 50 | 74 72 5b 31 5d 2c 70 61 |],paramP|tr[1],pa|
|00002f50| 72 61 6d 50 74 72 5b 32 | 5d 2c 70 61 72 61 6d 50 |ramPtr[2|],paramP|
|00002f60| 74 72 5b 33 5d 29 3b 0d | 09 09 73 69 67 6e 69 66 |tr[3]);.|..signif|
|00002f70| 69 63 61 6e 63 65 3d 50 | 73 79 63 68 6f 6d 65 74 |icance=P|sychomet|
|00002f80| 72 69 63 46 69 74 28 26 | 70 61 72 61 6d 73 2c 4d |ricFit(&|params,M|
|00002f90| 6f 64 65 6c 46 75 6e 63 | 74 69 6f 6e 2c 26 64 61 |odelFunc|tion,&da|
|00002fa0| 74 61 2c 26 6d 6f 64 65 | 6c 4c 4c 2c 6d 6f 64 65 |ta,&mode|lLL,mode|
|00002fb0| 6c 44 46 2c 0d 09 09 09 | 26 63 68 69 53 71 75 61 |lDF,....|&chiSqua|
|00002fc0| 72 65 2c 26 63 68 69 53 | 71 75 61 72 65 44 46 29 |re,&chiS|quareDF)|
|00002fd0| 3b 0d 09 09 70 72 69 6e | 74 66 28 22 46 69 74 3a |;...prin|tf("Fit:|
|00002fe0| 22 29 3b 0d 09 09 70 72 | 69 6e 74 66 28 22 5c 74 |");...pr|intf("\t|
|00002ff0| 25 37 2e 32 66 25 38 2e | 31 66 25 38 2e 32 66 25 |%7.2f%8.|1f%8.2f%|
|00003000| 38 2e 32 66 22 2c 0d 09 | 09 09 70 61 72 61 6d 50 |8.2f",..|..paramP|
|00003010| 74 72 5b 30 5d 2c 70 61 | 72 61 6d 50 74 72 5b 31 |tr[0],pa|ramPtr[1|
|00003020| 5d 2c 70 61 72 61 6d 50 | 74 72 5b 32 5d 2c 70 61 |],paramP|tr[2],pa|
|00003030| 72 61 6d 50 74 72 5b 33 | 5d 29 3b 0d 09 09 70 72 |ramPtr[3|]);...pr|
|00003040| 69 6e 74 66 28 22 25 38 | 64 25 38 6c 64 22 2c 64 |intf("%8|d%8ld",d|
|00003050| 61 74 61 2e 63 6f 6e 74 | 72 61 73 74 73 2c 74 72 |ata.cont|rasts,tr|
|00003060| 69 61 6c 73 29 3b 0d 09 | 09 70 72 69 6e 74 66 28 |ials);..|.printf(|
|00003070| 22 25 38 2e 32 66 25 38 | 2e 31 66 25 38 64 5c 6e |"%8.2f%8|.1f%8d\n|
|00003080| 22 2c 73 69 67 6e 69 66 | 69 63 61 6e 63 65 2c 63 |",signif|icance,c|
|00003090| 68 69 53 71 75 61 72 65 | 2c 63 68 69 53 71 75 61 |hiSquare|,chiSqua|
|000030a0| 72 65 44 46 29 3b 0d 09 | 09 69 66 28 66 69 74 46 |reDF);..|.if(fitF|
|000030b0| 69 6c 65 29 66 70 72 69 | 6e 74 66 28 66 69 74 46 |ile)fpri|ntf(fitF|
|000030c0| 69 6c 65 2c 22 25 73 22 | 0d 09 09 09 09 22 5c 74 |ile,"%s"|....."\t|
|000030d0| 25 37 2e 34 66 5c 74 25 | 37 2e 34 66 5c 74 25 37 |%7.4f\t%|7.4f\t%7|
|000030e0| 2e 34 66 5c 74 25 37 2e | 34 66 5c 74 25 37 64 22 |.4f\t%7.|4f\t%7d"|
|000030f0| 0d 09 09 09 09 22 5c 74 | 25 37 2e 34 66 5c 74 25 |....."\t|%7.4f\t%|
|00003100| 37 2e 34 66 5c 74 25 37 | 64 22 0d 09 09 09 09 22 |7.4f\t%7|d"....."|
|00003110| 5c 74 25 37 6c 64 5c 74 | 25 37 64 5c 6e 22 2c 0d |\t%7ld\t|%7d\n",.|
|00003120| 09 09 09 09 63 6f 6e 64 | 69 74 69 6f 6e 4e 61 6d |....cond|itionNam|
|00003130| 65 2c 0d 09 09 09 09 70 | 61 72 61 6d 50 74 72 5b |e,.....p|aramPtr[|
|00003140| 30 5d 2c 70 61 72 61 6d | 50 74 72 5b 31 5d 2c 70 |0],param|Ptr[1],p|
|00003150| 61 72 61 6d 50 74 72 5b | 32 5d 2c 70 61 72 61 6d |aramPtr[|2],param|
|00003160| 50 74 72 5b 33 5d 2c 6d | 6f 64 65 6c 44 46 2c 0d |Ptr[3],m|odelDF,.|
|00003170| 09 09 09 09 73 69 67 6e | 69 66 69 63 61 6e 63 65 |....sign|ificance|
|00003180| 2c 63 68 69 53 71 75 61 | 72 65 2c 63 68 69 53 71 |,chiSqua|re,chiSq|
|00003190| 75 61 72 65 44 46 2c 0d | 09 09 09 09 74 72 69 61 |uareDF,.|....tria|
|000031a0| 6c 73 2c 64 61 74 61 2e | 63 6f 6e 74 72 61 73 74 |ls,data.|contrast|
|000031b0| 73 29 3b 0d 09 0d 09 09 | 2f 2a 20 4e 6f 77 20 63 |s);.....|/* Now c|
|000031c0| 72 65 61 74 65 20 70 6c | 6f 74 20 66 69 6c 65 20 |reate pl|ot file |
|000031d0| 2a 2f 0d 09 09 69 66 28 | 66 69 74 46 69 6c 65 29 |*/...if(|fitFile)|
|000031e0| 7b 0d 09 09 09 73 74 72 | 63 70 79 28 70 6c 6f 74 |{....str|cpy(plot|
|000031f0| 46 69 6c 65 4e 61 6d 65 | 2c 66 69 74 46 69 6c 65 |FileName|,fitFile|
|00003200| 4e 61 6d 65 29 3b 0d 09 | 09 09 70 6c 6f 74 46 69 |Name);..|..plotFi|
|00003210| 6c 65 4e 61 6d 65 5b 73 | 74 72 6c 65 6e 28 70 6c |leName[s|trlen(pl|
|00003220| 6f 74 46 69 6c 65 4e 61 | 6d 65 29 2d 73 74 72 6c |otFileNa|me)-strl|
|00003230| 65 6e 28 22 2e 66 69 74 | 22 29 5d 3d 30 3b 09 2f |en(".fit|")]=0;./|
|00003240| 2a 20 73 74 72 69 70 20 | 6f 66 66 20 74 68 65 20 |* strip |off the |
|00003250| 22 2e 66 69 74 22 20 2a | 2f 0d 09 09 09 73 70 72 |".fit" *|/....spr|
|00003260| 69 6e 74 66 28 70 6c 6f | 74 46 69 6c 65 4e 61 6d |intf(plo|tFileNam|
|00003270| 65 2c 22 25 73 2e 25 73 | 2e 70 6c 6f 74 22 2c 70 |e,"%s.%s|.plot",p|
|00003280| 6c 6f 74 46 69 6c 65 4e | 61 6d 65 2c 63 6f 6e 64 |lotFileN|ame,cond|
|00003290| 69 74 69 6f 6e 4e 61 6d | 65 29 3b 0d 09 09 09 70 |itionNam|e);....p|
|000032a0| 6c 6f 74 46 69 6c 65 3d | 66 6f 70 65 6e 28 70 6c |lotFile=|fopen(pl|
|000032b0| 6f 74 46 69 6c 65 4e 61 | 6d 65 2c 22 77 22 29 3b |otFileNa|me,"w");|
|000032c0| 0d 09 09 09 69 66 28 70 | 6c 6f 74 46 69 6c 65 3d |....if(p|lotFile=|
|000032d0| 3d 4e 55 4c 4c 29 7b 0d | 09 09 09 09 50 72 69 6e |=NULL){.|....Prin|
|000032e0| 74 66 45 78 69 74 28 22 | 53 6f 72 72 79 2c 20 49 |tfExit("|Sorry, I|
|000032f0| 20 63 61 6e 27 74 20 63 | 72 65 61 74 65 20 66 69 | can't c|reate fi|
|00003300| 6c 65 20 5c 22 25 73 5c | 22 2e 5c 6e 5c 30 30 37 |le \"%s\|".\n\007|
|00003310| 22 2c 70 6c 6f 74 46 69 | 6c 65 4e 61 6d 65 29 3b |",plotFi|leName);|
|00003320| 0d 09 09 09 7d 0d 09 09 | 09 23 69 66 20 4d 41 43 |....}...|.#if MAC|
|00003330| 49 4e 54 4f 53 48 0d 09 | 09 09 09 53 65 74 46 69 |INTOSH..|...SetFi|
|00003340| 6c 65 49 6e 66 6f 28 70 | 6c 6f 74 46 69 6c 65 4e |leInfo(p|lotFileN|
|00003350| 61 6d 65 2c 27 54 45 58 | 54 27 2c 27 43 47 52 46 |ame,'TEX|T','CGRF|
|00003360| 27 29 3b 09 2f 2a 20 43 | 72 69 63 6b 65 74 20 47 |');./* C|ricket G|
|00003370| 72 61 70 68 20 66 69 6c | 65 20 2a 2f 0d 09 09 09 |raph fil|e */....|
|00003380| 23 65 6e 64 69 66 0d 09 | 09 09 6d 6f 6e 6f 74 6f |#endif..|..monoto|
|00003390| 6e 69 63 44 61 74 61 3d | 64 61 74 61 3b 0d 09 09 |nicData=|data;...|
|000033a0| 09 4d 6f 6e 6f 74 6f 6e | 69 63 46 69 74 28 26 6d |.Monoton|icFit(&m|
|000033b0| 6f 6e 6f 74 6f 6e 69 63 | 44 61 74 61 2c 26 6d 6f |onotonic|Data,&mo|
|000033c0| 6e 6f 74 6f 6e 69 63 4c | 4c 2c 26 6d 6f 6e 6f 74 |notonicL|L,&monot|
|000033d0| 6f 6e 69 63 44 46 29 3b | 09 2f 2a 20 6f 76 65 72 |onicDF);|./* over|
|000033e0| 77 72 69 74 65 73 20 64 | 61 74 61 20 77 69 74 68 |writes d|ata with|
|000033f0| 20 66 69 74 20 2a 2f 0d | 09 09 09 66 70 72 69 6e | fit */.|...fprin|
|00003400| 74 66 28 70 6c 6f 74 46 | 69 6c 65 2c 22 2a 5c 6e |tf(plotF|ile,"*\n|
|00003410| 22 29 3b 0d 09 09 09 66 | 70 72 69 6e 74 66 28 70 |");....f|printf(p|
|00003420| 6c 6f 74 46 69 6c 65 2c | 22 43 6f 6e 74 72 61 73 |lotFile,|"Contras|
|00003430| 74 5c 74 25 73 5c 74 4c | 6f 77 65 72 20 62 6f 75 |t\t%s\tL|ower bou|
|00003440| 6e 64 5c 74 55 70 70 65 | 72 20 62 6f 75 6e 64 5c |nd\tUppe|r bound\|
|00003450| 74 25 73 20 66 69 74 5c | 74 4d 6f 6e 6f 74 6f 6e |t%s fit\|tMonoton|
|00003460| 65 20 66 69 74 5c 74 54 | 72 69 61 6c 73 5c 74 43 |e fit\tT|rials\tC|
|00003470| 6f 72 72 65 63 74 5c 74 | 50 61 72 61 6d 65 74 65 |orrect\t|Paramete|
|00003480| 72 73 5c 6e 22 2c 0d 09 | 09 09 09 63 6f 6e 64 69 |rs\n",..|...condi|
|00003490| 74 69 6f 6e 4e 61 6d 65 | 2c 6d 6f 64 65 6c 4e 61 |tionName|,modelNa|
|000034a0| 6d 65 29 3b 0d 09 09 09 | 66 6f 72 28 69 3d 30 3b |me);....|for(i=0;|
|000034b0| 69 3c 64 61 74 61 2e 63 | 6f 6e 74 72 61 73 74 73 |i<data.c|ontrasts|
|000034c0| 3b 69 2b 2b 29 7b 0d 09 | 09 09 09 63 50 74 72 3d |;i++){..|...cPtr=|
|000034d0| 26 64 61 74 61 2e 63 5b | 69 5d 3b 0d 09 09 09 09 |&data.c[|i];.....|
|000034e0| 66 70 72 69 6e 74 66 28 | 70 6c 6f 74 46 69 6c 65 |fprintf(|plotFile|
|000034f0| 2c 22 25 2e 33 66 22 2c | 63 50 74 72 2d 3e 63 6f |,"%.3f",|cPtr->co|
|00003500| 6e 74 72 61 73 74 29 3b | 0d 09 09 09 09 69 66 28 |ntrast);|.....if(|
|00003510| 63 50 74 72 2d 3e 74 72 | 69 61 6c 73 3e 30 29 7b |cPtr->tr|ials>0){|
|00003520| 0d 09 09 09 09 09 66 70 | 72 69 6e 74 66 28 70 6c |......fp|rintf(pl|
|00003530| 6f 74 46 69 6c 65 2c 22 | 5c 74 25 2e 33 66 22 2c |otFile,"|\t%.3f",|
|00003540| 63 50 74 72 2d 3e 63 6f | 72 72 65 63 74 2f 28 64 |cPtr->co|rrect/(d|
|00003550| 6f 75 62 6c 65 29 63 50 | 74 72 2d 3e 74 72 69 61 |ouble)cP|tr->tria|
|00003560| 6c 73 29 3b 0d 09 09 09 | 09 09 66 70 72 69 6e 74 |ls);....|..fprint|
|00003570| 66 28 70 6c 6f 74 46 69 | 6c 65 2c 22 5c 74 25 2e |f(plotFi|le,"\t%.|
|00003580| 33 66 5c 74 25 2e 33 66 | 22 2c 0d 09 09 09 09 09 |3f\t%.3f|",......|
|00003590| 09 42 69 6e 6f 6d 69 61 | 6c 4c 6f 77 65 72 42 6f |.Binomia|lLowerBo|
|000035a0| 75 6e 64 28 30 2e 39 35 | 2c 63 50 74 72 2d 3e 63 |und(0.95|,cPtr->c|
|000035b0| 6f 72 72 65 63 74 2c 63 | 50 74 72 2d 3e 74 72 69 |orrect,c|Ptr->tri|
|000035c0| 61 6c 73 29 2c 0d 09 09 | 09 09 09 09 42 69 6e 6f |als),...|....Bino|
|000035d0| 6d 69 61 6c 55 70 70 65 | 72 42 6f 75 6e 64 28 30 |mialUppe|rBound(0|
|000035e0| 2e 39 35 2c 63 50 74 72 | 2d 3e 63 6f 72 72 65 63 |.95,cPtr|->correc|
|000035f0| 74 2c 63 50 74 72 2d 3e | 74 72 69 61 6c 73 29 29 |t,cPtr->|trials))|
|00003600| 3b 0d 09 09 09 09 7d 0d | 09 09 09 09 65 6c 73 65 |;.....}.|....else|
|00003610| 0d 09 09 09 09 09 66 70 | 72 69 6e 74 66 28 70 6c |......fp|rintf(pl|
|00003620| 6f 74 46 69 6c 65 2c 22 | 5c 74 5c 74 5c 74 22 29 |otFile,"|\t\t\t")|
|00003630| 3b 0d 09 09 09 09 66 70 | 72 69 6e 74 66 28 70 6c |;.....fp|rintf(pl|
|00003640| 6f 74 46 69 6c 65 2c 22 | 5c 74 25 2e 33 66 22 2c |otFile,"|\t%.3f",|
|00003650| 28 2a 4d 6f 64 65 6c 46 | 75 6e 63 74 69 6f 6e 29 |(*ModelF|unction)|
|00003660| 28 63 50 74 72 2d 3e 63 | 6f 6e 74 72 61 73 74 2c |(cPtr->c|ontrast,|
|00003670| 26 70 61 72 61 6d 73 29 | 29 3b 0d 09 09 09 09 69 |¶ms)|);.....i|
|00003680| 66 28 63 50 74 72 2d 3e | 74 72 69 61 6c 73 3e 30 |f(cPtr->|trials>0|
|00003690| 29 0d 09 09 09 09 09 66 | 70 72 69 6e 74 66 28 70 |)......f|printf(p|
|000036a0| 6c 6f 74 46 69 6c 65 2c | 22 5c 74 25 2e 33 66 5c |lotFile,|"\t%.3f\|
|000036b0| 74 25 35 6c 64 5c 74 25 | 35 6c 64 22 2c 0d 09 09 |t%5ld\t%|5ld",...|
|000036c0| 09 09 09 09 6d 6f 6e 6f | 74 6f 6e 69 63 44 61 74 |....mono|tonicDat|
|000036d0| 61 2e 63 5b 69 5d 2e 63 | 6f 72 72 65 63 74 2f 28 |a.c[i].c|orrect/(|
|000036e0| 64 6f 75 62 6c 65 29 6d | 6f 6e 6f 74 6f 6e 69 63 |double)m|onotonic|
|000036f0| 44 61 74 61 2e 63 5b 69 | 5d 2e 74 72 69 61 6c 73 |Data.c[i|].trials|
|00003700| 2c 0d 09 09 09 09 09 09 | 63 50 74 72 2d 3e 74 72 |,.......|cPtr->tr|
|00003710| 69 61 6c 73 2c 63 50 74 | 72 2d 3e 63 6f 72 72 65 |ials,cPt|r->corre|
|00003720| 63 74 29 3b 0d 09 09 09 | 09 65 6c 73 65 20 66 70 |ct);....|.else fp|
|00003730| 72 69 6e 74 66 28 70 6c | 6f 74 46 69 6c 65 2c 22 |rintf(pl|otFile,"|
|00003740| 5c 74 5c 74 5c 74 22 29 | 3b 0d 09 09 09 09 69 66 |\t\t\t")|;.....if|
|00003750| 28 69 3c 50 41 52 41 4d | 53 29 66 70 72 69 6e 74 |(i<PARAM|S)fprint|
|00003760| 66 28 70 6c 6f 74 46 69 | 6c 65 2c 22 5c 74 25 73 |f(plotFi|le,"\t%s|
|00003770| 3d 25 2e 33 66 22 2c 70 | 61 72 61 6d 4e 61 6d 65 |=%.3f",p|aramName|
|00003780| 5b 69 5d 2c 70 61 72 61 | 6d 50 74 72 5b 69 5d 29 |[i],para|mPtr[i])|
|00003790| 3b 0d 09 09 09 09 69 66 | 28 69 3d 3d 30 29 66 70 |;.....if|(i==0)fp|
|000037a0| 72 69 6e 74 66 28 70 6c | 6f 74 46 69 6c 65 2c 22 |rintf(pl|otFile,"|
|000037b0| 5c 74 61 6c 70 68 61 3d | 25 2e 34 66 22 2c 70 6f |\talpha=|%.4f",po|
|000037c0| 77 28 31 30 2e 30 2c 70 | 61 72 61 6d 50 74 72 5b |w(10.0,p|aramPtr[|
|000037d0| 30 5d 29 29 3b 0d 09 09 | 09 09 69 66 28 69 3d 3d |0]));...|..if(i==|
|000037e0| 50 41 52 41 4d 53 29 66 | 70 72 69 6e 74 66 28 70 |PARAMS)f|printf(p|
|000037f0| 6c 6f 74 46 69 6c 65 2c | 22 5c 74 73 69 67 6e 69 |lotFile,|"\tsigni|
|00003800| 66 69 63 61 6e 63 65 3d | 25 2e 33 66 22 2c 73 69 |ficance=|%.3f",si|
|00003810| 67 6e 69 66 69 63 61 6e | 63 65 29 3b 0d 09 09 09 |gnifican|ce);....|
|00003820| 09 66 70 72 69 6e 74 66 | 28 70 6c 6f 74 46 69 6c |.fprintf|(plotFil|
|00003830| 65 2c 22 5c 6e 22 29 3b | 0d 09 09 09 7d 0d 09 09 |e,"\n");|....}...|
|00003840| 09 69 66 28 70 6c 6f 74 | 46 69 6c 65 29 66 63 6c |.if(plot|File)fcl|
|00003850| 6f 73 65 28 70 6c 6f 74 | 46 69 6c 65 29 3b 0d 09 |ose(plot|File);..|
|00003860| 09 7d 0d 09 7d 0d 09 69 | 66 28 66 69 74 46 69 6c |.}..}..i|f(fitFil|
|00003870| 65 29 66 63 6c 6f 73 65 | 28 66 69 74 46 69 6c 65 |e)fclose|(fitFile|
|00003880| 29 3b 0d 09 69 66 28 64 | 61 74 61 46 69 6c 65 29 |);..if(d|ataFile)|
|00003890| 66 63 6c 6f 73 65 28 64 | 61 74 61 46 69 6c 65 29 |fclose(d|ataFile)|
|000038a0| 3b 0d 7d 0d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |;.}.....|........|
|000038b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000038f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003900| 00 00 01 00 00 00 01 a0 | 00 00 00 a0 00 00 00 52 |........|.......R|
|00003910| 69 6f 6e 4e 61 6d 65 29 | 3b 0d 09 09 09 66 6f 72 |ionName)|;....for|
|00003920| 28 69 3d 30 3b 69 3c 64 | 61 74 61 2e 63 6f 6e 74 |(i=0;i<d|ata.cont|
|00003930| 08 51 75 69 63 6b 33 2e | 63 69 02 00 00 00 54 45 |.Quick3.|ci....TE|
|00003940| 58 54 4b 41 48 4c 00 00 | 00 00 00 00 00 00 00 00 |XTKAHL..|........|
|00003950| 00 00 54 45 58 54 4b 41 | 48 4c 00 00 00 00 00 00 |..TEXTKA|HL......|
|00003960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003970| 00 00 a7 e5 d5 a3 00 00 | 00 00 00 00 01 f2 2e 33 |........|.......3|
|00003980| 66 5c 74 25 35 6c 64 5c | 74 25 35 6c 64 5c 6e 22 |f\t%5ld\|t%5ld\n"|
|00003990| 2c 0d 09 09 09 09 09 63 | 50 74 72 2d 3e 63 6f 6e |,......c|Ptr->con|
|000039a0| 74 72 61 73 74 2c 0d 09 | 09 09 09 09 63 50 74 72 |trast,..|....cPtr|
|000039b0| 2d 3e 63 6f 72 72 65 63 | 74 2f 28 64 6f 75 62 6c |->correc|t/(doubl|
|000039c0| 65 29 63 50 74 72 2d 3e | 74 72 69 61 6c 73 2c 0d |e)cPtr->|trials,.|
|000039d0| 09 09 09 09 09 57 65 69 | 62 75 6c 6c 28 63 50 74 |.....Wei|bull(cPt|
|000039e0| 72 2d 3e 63 6f 6e 74 72 | 61 73 74 2c 26 70 61 72 |r->contr|ast,&par|
|000039f0| 61 6d 73 29 2c 0d 09 09 | 09 09 09 6d 6f 6e 6f 74 |ams),...|...monot|
|00003a00| 00 00 00 2e 00 02 00 16 | 00 00 25 fe 00 e0 00 51 |........|..%....Q|
|00003a10| f6 b4 00 00 07 50 41 52 | 41 4d 53 20 00 16 00 00 |.....PAR|AMS ....|
|00003a20| 25 fe 00 e0 00 51 f6 a4 | 00 00 07 6d 6f 64 65 6c |%....Q..|...model|
|00003a30| 44 46 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 ff |DF...H..|Monaco..|
|00003a40| 00 c9 00 00 00 68 00 01 | a6 4c 00 0a 00 00 00 00 |.....h..|.L......|
|00003a50| 00 00 00 00 00 09 00 00 | 00 06 00 04 00 50 00 20 |........|.....P. |
|00003a60| 01 8d 02 3d 00 50 00 20 | 01 8d 02 3d a7 82 54 22 |...=.P. |...=..T"|
|00003a70| 00 00 00 0d 00 00 00 35 | 00 00 00 00 01 00 00 00 |.......5|........|
|00003a80| 00 1e 00 50 00 20 01 8d | 02 3d 00 50 00 20 01 8d |...P. ..|.=.P. ..|
|00003a90| 02 3d 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.=......|........|
|00003aa0| 00 00 01 00 00 00 01 a0 | 00 00 00 a0 00 00 00 52 |........|.......R|
|00003ab0| 00 5e 09 54 13 d6 00 00 | 00 1c 00 52 00 01 44 54 |.^.T....|...R..DT|
|00003ac0| 56 55 00 00 00 12 4d 50 | 53 52 00 01 00 1e 6c 73 |VU....MP|SR....ls|
|00003ad0| ff ff 00 00 00 00 00 00 | 00 00 03 ed ff ff 00 00 |........|........|
|00003ae0| 00 32 00 00 00 00 03 f0 | ff ff 00 00 00 7e 00 00 |.2......|.....~..|
|00003af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+